История страницы
...
Hide columns Version 9 (net)
Группа действийAction group: Excel
Описание
...
Description
The action hides columns in the Excel fileДействие скрывает столбцы в Excel файле.
...
Action icon
Параметры действия
Входные данные
- Поле “Контекст” - Контекст действия для работы с Excel-документом.
- Поле “Имя начального столбца” - Имя начального столбца в диапазоне, который будет скрыт. Если указанный столбец не скрытый, действие выведет предупреждение. С ошибкой завершаться не будет. Если поле не заполнено, то берется значение из поля «Индекс начального столбца».
- Поле “Индекс начального столбца” - Индекс начального столбца в диапазоне, который будет скрыт. Если указанный столбец не скрытый, действие выведет предупреждение. С ошибкой завершаться не будет.
- Поле “Имя конечного столбца” - Имя конечного столбца в диапазоне, который будет скрыт. Если поле не заполнено, то берется значение из поля «Индекс конечного столбца».
- Поле “Индекс конечного столбца” - Индекс конечного столбца в диапазоне, который будет скрыт. Если поле не заполнено, то будет скрыт один столбец.
...
Action parameters
Input data
- "Context" field - action context for working with an Excel document.
- "Starting column name" field - the name of the starting column in the range to be hidden. If the specified column is not hidden, the action will display a warning. It will not terminate with an error. If the field is not filled, then the value from the «Starting column index» field is taken.
- "Starting column index" field - the index of the starting column in the range to be hidden. If the specified column is not hidden, the action will display a warning. It will not terminate with an error.
- "Final column name" field - the name of the end column in the range to be hidden. If the field is not filled, then the value from the «Final column index» field is taken.
- "final column index" field - the index of the end column in the range to be hidden. If the field is not filled, then a single column will be hidden.
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Context | Action context for working with an Excel document | Robin.Excel | Excel context | Yes |
Starting column name | The name of the starting column in the range to be hidden. If the specified column is not hidden, the action will display a warning. It will not terminate with an error. If the field is not filled, then the value from the «Starting column index» field is taken. | Robin.String | No | |
Starting column index | The index of the starting column in the range to be hidden. If the specified column is not hidden, the action will display a warning. It will not terminate with an error. | Robin.Numeric | No | |
Final column name | The name of the end column in the range to be hidden. If the field is not filled, then the value from the «Final column index» field is taken. | Robin.String | No | |
Final column index | The index of the end column in the range to be hidden. If the field is not filled, then a single column will be hidden. | Robin.Numeric | No |
Особые условия использования
Скрывает все столбцы в диапазоне от "От" до "До" (либо наоборот, если поле "До" заполнено и значение больше "От").
Если указано только имя столбца "От", то будет скрыт один столбец.
Пример использования
Задача
Есть Excel - документ.
Нужно скрыть столбцы A и B с помощью действия "Hide columns".
Решение
Special conditions of use
Hides all columns in the range from “From” to “To” (or vice versa if the “To” field is filled and the value is greater than “From”).
If only the column name “From” is set, one column will be hidden.
Example of use
Task
You have an Excel document.
Hide columns A and B using the "Hide columns" action.
Solution
To implement the action the following actions are needed - "OpenДля реализации действия нужны следующие действия - "Открыть", "Hide columns", "СохранитьSave", “Закрыть”“Close”.
...
Implementation
- Собрать схему робота, состоящую из действий:Assemble a robot scheme with the actions:
2. Укажем параметры в действии “Открыть”Set the "Open" action parameters
3. Настроить параметры действия Set the "Hide columns" .action parameters
4. Укажем параметры в действии “Сохранить”Set the "Save" action parameters
5. Укажем параметры в действии “Закрыть”Set the "Close" action parameters.
6. Нажмем на кнопку “Старт” и посмотрим результат
Результаты
. Click "Start" and see the result.
Results
The set columns are hidden. Указанные столбцы скрыты.