Hide columns Version 1 (Python)
Action group: Office
Description
Action hides visible columns
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with ods/xlsx table. | Robin.OpenSheetD oc | Yes | |
Starting column name | The name of the starting column in the range of columns that will be hidden. If the field is not filled in, the starting column will be determined by the value from the «Starting column index» field. If neither the name nor the index of the starting column is specified, the action will fail. | Robin.String | No | |
Starting column index | The sequence number of the starting column in the range of columns to be hidden. The numbering starts from 1. | Robin.Numeric | No | |
Ending column name | The name of the ending column in the range of columns that will be hidden. If the field is not filled in, the starting column will be determined by the value from the «Ending column index» field. If neither the name nor the index of the destination column is specified, the range will be limited to the starting column only. | Robin.String | No | |
Ending column index | The sequence number of the ending column in the range of columns 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 columns B and C.
Solution
Use the actions "Open", "Hide columns", "Save".
Implementation
- Assemble a robot scheme consisting of actions:
- Set parameters for the "Open" action. In the "Path to file" field specify the path to the required tabular document "Test 1".
- Set the parameters for the "Hide columns" action.
- in the "Context" field specify the context of the opened document "Test 1";
- in the "Starting column name" field specify the name of the start column in the range of columns that will be hidden;
- in the "Ending column name" field specify the name of the end column in the range of columns to be hidden.
- Set the parameters of the "Save" action.
- In the "Context" field, specify the context of the open document "Test 1".
- 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.
The required columns are hidden.
Обзор
Инструменты контента