Excel LoopExcel loop activity is used to perform automation by reading values within an excel. In excel, there are number of rows and columns of the same nature and works in a loop where same set of actions are performed on each row available in the excel. Before using this activity, make sure you have an excel to read. Using Excel Loop Activity1. In the Canvas Tools pane, click Files to expand the tool and view the associated activities. 2. Drag the Excel Loop activity and drop on to the Flowchart designer on the Canvas.
3. Click Excel File Location. The Open window appears.
4. Select the excel file you want to automate and click Open. 5. In the Excel Sheet list, select the sheet or workbook you want to perform automate. 6. Select the Has headers check box if the selected excel has headers. 7. Click
the
Output Parameters dialog box have four columns: a. Headers Names: In this column, you can view the headers name of the selected excel. This column is not editable. b. DataType: In this column, you can select the type of data for headers from the list. The available options are – Text, Numeric, Decimal, Boolean and DateTime. c. Text: This data type is used to determine the value of the defined variable as text, such as, Dave, Stock. § Numeric: This data type is used to determine the value of the defined variable as Numeric, such as, 10, 88. § Decimal: This data type is used to determine the value of the defined variable as Decimal, such as, 10.01,9.04. § Boolean: This data type is used to determine the value of the defined variable as Boolean, such as, true, false. § DateTime: This data type is used to determine the value of the defined variable as date and time stamp, such as, 01122020;14:09:05. d. Reuse Header Name: Select the All option if you want to reuse all the existing headers of the selected excel. You can even select the required headers individually by selecting the check box available in the headers row. e. Parameter: In this column, headers parameter is available. You can edit the parameter name as per your requirement. These parameters are used to store the value and get the desired output. Parameter works like a variable. 8. Click Confirm to save the changes.
Excel Loop PropertiesThe properties of Excel Loop activity are listed in the following table and can be edited in the Properties grid on the right pane.
|
On This Page Hide
Related Topics |