activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

Get Selected Range

UiPath.Excel.Activities.ExcelGetSelectedRange

Returns the selected range as a String variable.

Properties

Common
  • DisplayName - The display name of the activity.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • Range - The retrieved range, stored in a String variable. This field supports only strings and String variables.

    Note: Get Selected Range activity can be used as a confirmation tool or as an information extractor tool.
    • Confirmation tool: when used together with the Select Range activity, the Get Selected Range activity confirms the automatically selected range.
    • Information Extractor Tool: when used as a standalone activity, Get Selected Range extracts the information and notifies the user about the manually selected range.

Example of Using the Get Selected Range Activity

To exemplify how to use this activity, we have built an automation project which opens an Excel workbook and then displays a message box, in which time you can select a range which is then copied and displayed in another message box.

  • Properties
  • Example of Using the Get Selected Range Activity

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.