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




  1. Use the "Excel Application Scope" activity
  2. Install Microsoft Office on the machine where the bot is running



Example




Picture showing the sample excel file
Click to Enlarge



  1. Drag and drop the "Read Range" activity from the "Workbook"
  2. Inside the "Read Range" activity, specify the Excel file name, sheet name, and the range
  3. Store the output in a datatable variable
  4. Picture showing specifying the datatable in the Read Range activity
    Click to Enlarge

  5. Drag and drop the "Output Data Table" activity to convert the datatable to the comma-separated string
  6. Stores the output in a string variable
  7. Picture showing the Output Data Table for setting the value of datatable in the string variable
    Click to Enlarge

  8. Display the value of the string variable in the messagebox

Output


Picture showing the output of Read Range activity
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, January 20, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250