История страницы
...
Clear range Version 9 (Net)
Группа действийAction group: Excel
Описание
Удаляет значения из заданной области.
Иконка
Параметры
Входные параметры
Контекст Контекст действия для работы с Excel-документом
Имя столбца начальной ячейки Имя столбца начальной ячейки (начало диапазона), от которой будет установлена удаляемая область.
Индекс столбца начальной ячейки Индекс столбца начальной ячейки (начало диапазона), от которой будет установлена удаляемая область.
...
Имя столбца конечной ячейки Имя столбца конечной ячейки (конец диапазона), до которой будет установлена удаляемая область.
Индекс столбца конечной ячейки Индекс столбца конечной ячейки (конец диапазона), до которой будет установлена удаляемая область.
Строка конечной ячейки Строка конечной ячейки (конец диапазона), от которой будет установлена удаляемая область.
Настройки
...
Свойство
...
Описание
...
Тип
...
Пример заполнения
...
Обязательность заполнения поля
...
Параметры
...
Контекст
...
Контекст действия для работы с Excel-документом
...
Robin.Excel
...
Контекст excel
...
Да
...
Имя столбца начальной ячейки
...
Имя столбца начальной ячейки (начало диапазона), от которой будет установлена удаляемая область. Если поле не заполнено, то берется значение из поля «Индекс столбца начальной ячейки».
...
Robin.String
...
Нет
...
Индекс столбца начальной ячейки
...
Индекс столбца начальной ячейки (начало диапазона), от которой будет установлена удаляемая область. Если поле не заполнено, то берется граница используемой области.
...
Robin.Numeric
...
Нет
...
Строка начальной ячейки
...
Строка начальной ячейки (начало диапазона), от которой будет установлена удаляемая область.
...
Robin.Numeric
...
Нет
...
Имя столбца конечной ячейки
...
Имя столбца конечной ячейки (конец диапазона), до которой будет установлена удаляемая область. Если поле не заполнено, то берется значение из поля «Индекс столбца конечной ячейки».
...
Robin.String
...
Нет
...
Индекс столбца конечной ячейки
...
Индекс столбца конечной ячейки (конец диапазона), до которой будет установлена удаляемая область. Если поле не заполнено, то берется граница используемой области.
...
Robin.Numeric
...
Нет
...
Строка конечной ячейки
...
Строка конечной ячейки (конец диапазона), от которой будет установлена удаляемая область.
...
Robin.Numeric
...
Нет
Особые условия использования
Стиль ссылок "R1C1" не поддерживается.
Пример использования
Задача
Существует Excel-документ с таблицей:
Необходимо очистить область 3 и 4 строки по городам Berlin и Vatican city.
Решение
Воспользоваться действиями "Открыть", "Очистить область", "Сохранить".
Реализация
...
Description
Removes values from the specified area.
Icon
Parameters
Input parameters
Name | Description |
---|---|
Context | The action context for working with an Excel document |
Start cell column name | The column name of the start cell (beginning of the range) from which the area to be deleted will be set. |
Start cell column index | The column index of the start cell (beginning of the range) from which the area to be deleted will be set. |
Start cell row | The row of the start cell (beginning of the range) from which the area to be deleted will be set. |
End cell column name | The column name of the end cell (end of the range) to which the area to be deleted will be set. |
End cell column index | The column index of the end cell (end of range) to which the area to be deleted will be set. |
End cell row | The row of the end cell (end of range) from which the area to be deleted will be set. |
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 |
Start cell column name | The column name of the initial cell (the beginning of the range) from which the area to be deleted will be set. If the field is not filled in, the value from the "Start cell column index" field is taken. | String | No | |
Start cell column index | The column index of the initial cell (start of the range) from which the area to be deleted will be set. If the field is not filled in, the boundary of the used area is taken. | Numeric | No | |
Start cell row | String of the initial cell (beginning of the range) from which the area to be deleted will be set. | Numeric | No | |
End cell column name | The column name of the end cell (end of range) to which the area to be deleted will be set. If the field is not filled in, the value from the "End cell column index" field is taken. | String | No | |
End cell column index | The column index of the end cell (end of range) to which the area to be deleted will be set. If the field is not filled in, the boundary of the area to be used is taken. | Numeric | No | |
End cell row | The end cell string (end of range) from which the area to be deleted will be set. | Numeric | No |
Special conditions of use
The "R1C1" reference style is not supported.
Example of use
Task
There is an Excel document with a table:
Need to clear area 3 and 4 rows for Berlin and Vatican city.
Solution
Use the actions "Open", "Clear range", "Save".
Implementation
- Assemble a robot scheme consisting of actions:
- Customize the parameters of the "Open" action. In the "Path to file" field, specify the path to the required Excel file. Check the Visible = true checkbox to display robot actions on the screen.
- Customize parameters of the "Clear range" action. In the "Context" field specify the context of the opened document, specify the range from A3 to B4 in the corresponding fields.
- Customize the parameters of the "Save" action. Specify the context of the Excel document in the "Context" parameter.
- Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully.
The target range is cleared
...
Результат
Программный робот отработал успешно.
Заданная область очищена.