Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Hide columns Version 9 (net)

Группа действийAction group: Excel 

Описание

...

Description

The action hides columns in the Excel fileДействие скрывает столбцы в Excel файле. 

...

Action icon 

Параметры действия

Входные данные

  1. Поле “Контекст” - Контекст действия для работы с Excel-документом.
  2. Поле “Имя начального столбца” - Имя начального столбца в диапазоне, который будет скрыт. Если указанный столбец не скрытый, действие выведет предупреждение. С ошибкой завершаться не будет. Если поле не заполнено, то берется значение из поля «Индекс начального столбца».
  3. Поле “Индекс начального столбца” - Индекс начального столбца в диапазоне, который будет скрыт. Если указанный столбец не скрытый, действие выведет предупреждение. С ошибкой завершаться не будет.
  4. Поле “Имя конечного столбца” - Имя конечного столбца в диапазоне, который будет скрыт. Если поле не заполнено, то берется значение из поля «Индекс конечного столбца».
  5. Поле “Индекс конечного столбца” - Индекс конечного столбца в диапазоне, который будет скрыт. Если поле не заполнено, то будет скрыт один столбец.

...

Action parameters 

Input data 

  1. "Context" field  - action context for working with an Excel document.
  2. "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.
  3. "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.
  4. "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.
  5. "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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with an Excel documentRobin.ExcelExcel contextYes
Starting column nameThe 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 indexThe 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 nameThe 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 indexThe 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 - документ. 

Image Removed

Нужно скрыть столбцы 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. 

Image Added

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 

  1. Собрать схему робота, состоящую из действий: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. Указанные столбцы скрыты.