Articles → UiPath → Read And Write Data In Excel In Uipath
Read And Write Data In Excel In Uipath
Excel Application Scope
- Open the excel file
- Specifies the scope of an excel activity
- Close the excel file when the excel activity is completed
- Creates an excel if the file does not exist
Example
- Drag and drop Excel Application Scope
- Inside the Excel Application Scope, add the Read Range Activity
Click to Enlarge
- Assign the value of the Read Range activity to a DataTable variable in the property window
Click to Enlarge
- Drag and drop the second Excel Application Scope
- Inside the Excel Application Scope, add the Write Range Activity
- Set the data source to the datatable
Click to Enlarge
Output
Click to Enlarge