# Select Range

> `UiPath.Excel.Activities.Windows.Business.SelectRangeX`

`UiPath.Excel.Activities.Windows.Business.SelectRangeX`

Selects a specified range from an Excel spreadsheet, in order to perform further actions. Can only be used in the **Excel Application Scope** or **Use Excel File** activities.

## Properties

:::note
Strings must be placed between quotation marks.
:::

#### Common

* **DisplayName** - The display name of the activity.

#### Input

* **Range** - The range to be selected. Only String variables and strings are supported. The field is mandatory, however, you can now assign a variable to the range, which can be null. In this scenario, the error "Input value cannot be null" will be thrown at runtime.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

## Example of Using the Select Range Activity

To exemplify how to use this activity, we have built an automation project which also includes a **Select Range** activity. The process opens an Excel workbook and displays the range specified by you. You can check the example [here](https://docs.uipath.com/activities/other/latest/productivity/manage-range-selection).
