Articles → UiPath → Difference Between Read Range Activity In Workbook Vs Read Range Activity In Excel
Difference Between Read Range Activity In Workbook Vs Read Range Activity In Excel
Difference
- Use the "Excel Application Scope" activity
- Install Microsoft Office on the machine where the bot is running
Example
Click to Enlarge
- Drag and drop the "Read Range" activity from the "Workbook"
- Inside the "Read Range" activity, specify the Excel file name, sheet name, and the range
- Store the output in a datatable variable
Click to Enlarge
- Drag and drop the "Output Data Table" activity to convert the datatable to the comma-separated string
- Stores the output in a string variable
Click to Enlarge
- Display the value of the string variable in the messagebox
Output
Click to Enlarge