Action group: Office
The action makes the worksheet active. If both parameters "Sheet name" and "Sheet index" are not specified, an error will be thrown
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for ods/xlsx document | Robin.OpenSheetD oc | Yes | |
Sheet identification method | The parameter sets the identification method of the sheet to activate: via name or index | Robin.String | Yes | |
Sheet name | The name of the sheet to which the action will be applied. If the parameter points to a hidden sheet, the action will fail. | Robin.String | No | |
Sheet index | Sequence number of the sheet to apply the action to. The sequence number starts with «1». If the parameter points to a hidden sheet, the action will fail. | Robin.Numeric | No |
None.
There is a document called Test with a filled sheet "Sheet1" and a blank sheet "Sheet2":
You need to copy the data from sheet "Sheet1", switch to sheet "Sheet2", paste the values and save the document.
Use the actions "Open", "Take table", "Activate sheet", "Insert table", "Save".
Set the parameter for the "Open" action.
The program robot completed successfully.
The data was copied from sheet "Sheet1" to sheet "Sheet2":