Группа действий: Excel
Действие скрывает столбцы в Excel файле.
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".
Для реализации действия нужны следующие действия - "Открыть", "Hide columns", "Сохранить", “Закрыть”.
2. Укажем параметры в действии “Открыть”
3. Настроить параметры действия "Hide columns".
4. Укажем параметры в действии “Сохранить”
5. Укажем параметры в действии “Закрыть”
6. Нажмем на кнопку “Старт” и посмотрим результат
Указанные столбцы скрыты.