История страницы
...
Is cell empty Version 8 (Net)
Группа действийAction group: Excel
Описание
Действие проверяет является ли значение в ячейке пустым.
Иконка действия
Параметры действия
Входные параметры
Контекст - Контекст действия для работы с Excel-документом.
Имя столбца - Наименование столбца, из которого будут получены данные. Если поле не заполнено, то берется значение из поля «Индекс столбца». Например: С.
Индекс столбца - Индекс столбца, из которого будут получены данные. Индексация начинается с 0. Если заполнено поле «Имя столбца», то значение в поле «Индекс столбца» игнорируется. Значение по умолчанию равно 0.
Индекс строки - Индекс строки, из которой будут получены данные. Индексация начинается с 0. Например: 3.
Выходные параметры
- На выходе получаем переменную, в которую будет записано значение из ячейки. Если ячейка: пустая, то - «Правда (True)», заполнена, то - «Ложь (False).
Настройки
...
Свойство
...
Описание
...
Тип
...
Пример заполнения
...
Обязательность заполнения поля
...
Параметры
...
Контекст
...
Контекст действия для работы с Excel-документом
...
Robin.Excel
...
Контекст excel
...
Да
...
Имя столбца
...
Наименование столбца, из которого будут получены данные. Если поле не заполнено, то берется значение из поля «Индекс столбца».
...
Robin.String
...
Нет
...
Индекс столбца
...
Индекс столбца, из которого будут получены данные. Индексация начинается с 0. Если заполнено поле «Имя столбца», то значение в поле «Индекс стобца» игнорируется. Значение по умолчанию равно 0.
...
Robin.Numeric
...
Нет
...
Индекс строки
...
Индекс строки, из которой будут получены данные. Индексация начинается с 0.
...
Robin.Numeric
...
Да
...
Результат
...
Переменная, в которую будет записано значение из ячейки. Если ячейка: пустая, то - «Правда (True)», заполнена, то - «Ложь (False)»
...
Robin.Boolean
...
true
Особые условия использования
Отсутствуют
Пример использования
Задача
...
DescriptionTask
The action checks whether the value in the cell is empty.
Action icon
Action parameters
Input parameters
- Context - Action context for working with Excel document.
- Column of the cell - Name of the column from which the data will be obtained. If the field is not filled in, the value from the "Column Index" field is taken. For example: С.
- Column index - Index of the column from which the data will be obtained. Indexing starts from 0. If the "Column of the cell" field is filled, the value in the "Column index" field is ignored. The default value is 0.
- Row of the cell - The index of the row from which the data will be retrieved. The indexing starts at 0. For example: 3.
Output parameters
- The output is a variable to which the value from the cell will be written. If the cell is empty, then - "True", if filled, then - "False".
Settings
Property | Description | Type | Example of filling in | Obligatory to fill in the field |
Parameters | ||||
Context | Action context for working with an Excel document | Excel instance | Excel context | Yes |
Column of the cell | Name of the column from which the data will be obtained. If the field is not filled in, the value from the "Column index" field is taken. | String | Нет | |
Column index | Index of the column from which the data will be retrieved. Indexing starts from 0. If the "Column of the cell" field is filled, the value in the "Column index" field is ignored. The default value is 0. | Numeric | Нет | |
Row of the cell | Index of the row from which the data will be retrieved. Indexing starts from 0. | Numeric | Да | |
Results | ||||
Result | Variable to which the value from the cell will be written. If the cell is empty, then - "True", if filled, then - "False" | Boolean | true |
Special conditions of use
None.
Example of use
Task
There is an Excel document in which values are written. It is required to check if the value in cell C3 is filled. And then display a dialog box with the message "Cell is empty" or "Cell is not empty".
Решение
Solution
Use the actions "OpenВоспользоваться действиями "Открыть", "Is cell empty", "If", "Show message".
Реализация
Implementation
Assemble a robot scheme consisting of actionsСобрать схему робота, состоящую из действий:
Настроить параметры для действия "Открыть"Customize the settings for the "Open" action:
Настроить параметры для действия "Проверить пустая ли ячейка"Customize the parameters for the "Is cell empty" action:
Configure parameters for the "Show message" action (для ветки for the "True" branch)
ДалееNext, для ветки for the "False" branch.
Результат
Result
The program robot completed successfullyПрограммный робот отработал успешно.
Оповещение
о заполнении ячейки выведено в диалоговое окноThe cell fill alert is displayed in a dialog box.