Action group: Excel
The action copies the sheet to the specified document.
Property | Description | Type | Example of filling in | Obligatory to fill in the field |
Parameters | ||||
Source context | The context of the file from which the sheet will be taken. | Excel instance | Excel instance | Yes |
Target context | The context of the file where the sheet will be inserted. If not selected, the source context file will be taken. | Excel instance | Excel instance | No |
Sheet identification method | Parameter specifies the method of sheet identification: via name or index | String | Yes | |
Sheet name |
| String | No | |
Sheet index | The sequence number of the sheet to which the action will be applied. The sequence number starts with "1". | Numeric | No | |
Copied sheet name | The sheet name that will be assigned to the copied sheet. | String | No |
None
Task
There is an Excel document with a sheet "To copy". You need to copy this sheet and create the same one in the same document, but with the name "New".
Solution
Use the actions "Open", "Copy sheet", "Save".
Implementation
4. Customize the "Save" action parameter.
5. Launch the robot using the "Start" button in the top panel.
Optional. To copy an Excel sheet into another Excel document, you must link the documents before doing so.
Result
The software robot completed successfully. The copied sheet "New 1" has been added to the document.