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

Ключ

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

...

Get visible row numbers Version 4 (Net)

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

Описание

Действие записывает в коллекцию адреса видимых (отображаемых) строк после применения фильтрации

Иконка

Image Removed

Параметры

Входные параметры

  1. Контекст - Контекст действия для работы с Excel-документами.

  2. Имя столбца - Наименование столбца, в котором будет производится подсчёт видимых строк. Если поле не заполнено, то берется значение из поля «Индекс начального столбца».

  3. Индекс столбца - Индекс столбца, в котором будет производится подсчёт видимых строк.

Выходные параметры

В результате получаем коллекцию номеров видимых строк.

...

Description

The action writes the addresses of visible (displayed) rows to the collection after filtering has been applied.

Action icon

Image Added

Settings of parameters

ParameterDescription
ContextAction context for working with an Excel document.
Column nameName 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 indexIndex of the column to which the action will be applied.

Output parameters

The output is a collection of the visible row numbers.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with an Excel document.Robin.ExcelExcel contextYes
Column nameName of the column to which the action will be applied. If the field is not filled, then the value from the
«Column index»
"Column index" field is taken.Robin.String
No
Column indexIndex of the column to which the action will be applied.Robin.Numeric
No
Results
ResultThe 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

  1. Assemble a robot scheme with the actionsСобрать схему робота, состоящую из действий:
  2. Set the "Open" action parameters.Настроить параметры для действия "Открыть". 
  3. Настроить параметры для действия Set the "Get visible row numbers" action parameters.
  4. Нажать на кнопку Click "Старт" в верхней панели

Результат

  1. Start" in the top panel.

Result

The program robot completed successfully. The collection with the visible row numbers was obtained Программный робот отработал успешно. Получена коллекция с номерами видимых строк.