История страницы
...
Get visible row numbers Version 4 (Net)
Группа действийAction group: Excel
Описание
Действие записывает в коллекцию адреса видимых (отображаемых) строк после применения фильтрации
Иконка
Параметры
Входные параметры
Контекст - Контекст действия для работы с Excel-документами.
Имя столбца - Наименование столбца, в котором будет производится подсчёт видимых строк. Если поле не заполнено, то берется значение из поля «Индекс начального столбца».
Индекс столбца - Индекс столбца, в котором будет производится подсчёт видимых строк.
Выходные параметры
В результате получаем коллекцию номеров видимых строк.
...
Description
The action writes the addresses of visible (displayed) rows to the collection after filtering has been applied.
Action icon
Parameters
Input parameters
Parameter | Description |
---|---|
Context | Action context for working with an Excel document. |
Column name | Name of the column to which the action will be applied. If the field is not filled, then the value from the "Column index" field is taken. |
Column index | Index of the column to which the action will be applied. |
Output parameters
The output is a collection of the visible rows numbers.
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with an Excel document. | Robin.Excel | Excel context | Yes |
Column name | Name of the column to which the action will be applied. If the field is not filled, then the value from the |
"Column index" field is taken. | Robin.String | No | ||
Column index | Index of the column to which the action will be applied. | Robin.Numeric | No | |
Results | ||||
Result | The variable in which the addresses of the visible rows will be written. | Robin.Collection |
Особые условия использования
Special conditions of use
The output should be a collection with visible rows in the format В результате должна быть получена коллекция с видимыми строками в формате 1, 4, 6 и так далее, and so on.
Пример использования
Задача
Example of use
Task
There is an Excel-document. Select visible row numbers from column A within the range usedЕсть Excel - документ. Нужно отобрать номера видимых строк из столбца А в пределах используемого диапазона.
Решение
Solution
Use the "OpenДля реализации действия нужны следующие действия - "Открыть", "Get visible row numbers" actions.
Реализация
Implementation
- Assemble a robot scheme with the actionsСобрать схему робота, состоящую из действий:
- Set the "Open" action parameters.Настроить параметры для действия "Открыть".
- Настроить параметры для действия Set the "Get visible row numbers" action parameters.
- Нажать на кнопку Click "Старт" в верхней панели
Результат
- Start" in the top panel.
Result
The program robot completed successfully. The collection with the visible row numbers was obtained Программный робот отработал успешно. Получена коллекция с номерами видимых строк.