История страницы
...
Set column format Version 9 (.Net)
Группа действийAction group: Excel
Описание
Действие устанавливает формат значений заданного столбца
Иконка действия
Настройки
...
Description
The action sets the format of the specified column values.
Action icon
Settings of parameters
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 in which the format of the values will be set. 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 |
Начальная ячейка
Start cell | The index of the first line from the range in which the format will be set | Robin.Numeric |
No |
Конечная ячейка
End cell | The last line index from the range in which the format will be set | Robin.Numeric |
No |
Формат
Format | Format to be set in the selected column | Robin.String |
Особые условия использования
Yes |
Special conditions of use
If the "FromЕсли значение поля "От"/"До" попадает за пределы используемой области, а значение "ДоTo" field value falls outside the area to be used and no "To"/"От" не задано, для незаполненного параметра будет использована граница документа.
Пример использования
Задача
From" value is specified, the document boundary will be used for the blank parameter.
Example of use
Task
There is an Excel-documentЕсть Excel - документ.
Необходимо установить формат столбца D, как денежный.
Решение
Set the format of column D as monetary.
Solution
Use the "OpenДля реализации действия нужны следующие действия - "Открыть", "Set column formatdata", "СохранитьSave", “Закрыть”"Close" actions.
Реализация
Implementation
- Assemble a robot scheme with the actions.Собрать схему робота, состоящую из действий:
2. Укажем параметры в действии “Открыть”. Set the "Open" action parameters.
3. Настроить параметры действия Set the "Set column format" action parameters.
4. Укажем параметры в действии “Сохранить”. Set the "Save" action parameters.
5. Укажем параметры в действии “Закрыть”. Set the "Close" action parameters.
6. Нажмем на кнопку “Старт” и посмотрим результат
Результат
Click "Start" and see the result.
Result
The desired column format is setНеобходимые формат столбца установлен.