Hide rows Version 1 (Python)
Action group: Office
Description
The action hides visible rows.
Action icon

Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters |
Context | Action context for working with ods/xlsx table. | Robin.OpenSheetD oc |
| Yes |
Starting row index | The sequence number of the starting row in the range of rows to be hidden. The numbering starts from 1. | Robin.Numeric |
| Yes |
Ending row index | The sequence number of the ending row in the range of rows to be hidden. The numbering starts from 1. | Robin.Numeric |
| No |
Special conditions of use
None.
Example of use
Task
There is a tabular document. It is necessary to hide rows 2 and 3.

Solution
Use the actions "Open", "Hide rows", "Save".
Implementation
- Assemble a robot scheme consisting of actions:

- Set parameters for the "Open" action. In the "File path" field specify the path to the required tabular document "Test 1".

- Set the parameters for the "Hide rows" action.
- in the "Context" field specify the context of the opened document "Test 1";
- in the " Starting row index" field specify the index of the starting row in the range of rows that will be hidden;
- in the "Ending row index" field specify the index of the ending row in the range of rows to be hidden.

- Set the parameters of the Save action.
- In the "Context" field, specify the context of the open document "Test 1".

- Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully.

Lines 2 and 3 are hidden.
