История страницы
Группа действийAction group: Excel Установить формат диапазона Excel Set range format
Action iconИконка действия
Version:
- 8 (net)
Действие устанавливает формат ячеек из указанного диапазона
Настройки
Версия:
- 7 (net)
Действие устанавливает формат ячеек из указанного диапазона
Настройки
Action sets the format of cells from the specified range
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 start cell of the range. If the field is not filled in, the value from the "Start cell column index" field is taken. | String | No | |
Start cell column index | Column index of the start cell (beginning of the range) from which the area will be set. If the field is not filled in, the boundary of the used area is taken. | Numeric | No | |
Start cell row | Row of the start cell of the range. If the field is not filled in, the boundary of the used area is taken. | Numeric | No | |
End cell column name | The name of the end cell column of the range. 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 of the range. If the field is not filled in, the boundary of the used area is taken. | Numeric | No | |
End cell row | Row of the end cell of the range. If the field is not filled in, the boundary of the area to be used is taken. If the address of the end cell is less than the address of the start cell, the area that is bounded by these cells will be used. If the address of the end cell is less than the address of the start cell, the area that is limited to these cells will be used. | Numeric | No | |
Format | The format to be set in the selected cells. | String | Yes | |
Format mask | A mask to create a custom format. Rules for custom format masks: 1) Any custom text (kg, per, pcs, etc.) or symbols (including spaces) must be enclosed in quotation marks. 2) You can specify several (up to 4) different format masks using semicolons. Then the first of the masks will be applied to the cell if the number in the cell is positive, the second if it is negative, the third if the cell content is zero, and the fourth if the cell contains not a number but text. 3) 0 (zero) - one mandatory placeholder (digit), i.e. this place in the format mask will be filled with a digit from the number that the user will enter into the cell. If there is No number for this character space, zero will be output. For example, if the mask 0000 is applied to the number 12, 0012 will be output, and if the mask 0.00 is applied to the number 1.3456, 1.35 will be output. 4) # (lattice) - one optional character - roughly the same as zero, but if there is a No number for the character, nothing is output. 5) (space) - used as a separator of groups of digits of three between thousands, millions, billions, etc. 6) [ ] - in square brackets before the format mask you can specify the font color. The following colors are allowed: black, white, red, blue, green, yellow, light blue. | String | No |
Version:
- 7 (net)
Action sets the format of cells from the specified range
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 | Column of the start cell of the range. If the field is not filled in, the boundary of the used area is taken. | String | No | |
Start cell row | Row of the start cell of the range. If the field is not filled in, the boundary of the used area is taken. | Numeric | No | |
End cell column name | Column of the end cell of the range. If the field is not filled in, the boundary of the area to be used is taken. If the address of the end cell is less than the address of the start cell, the area that is bounded by these cells will be used. If the address of the end cell is less than the address of the start cell, the area that is limited to these cells will be used. | String | No | |
End cell row | Row of the end cell of the range. If the field is not filled in, the boundary of the area to be used is taken. If the address of the end cell is less than the address of the start cell, the area that is bounded by these cells will be used. If the address of the end cell is less than the address of the start cell, the area that is limited to these cells will be used. | Numeric | No | |
Format | The format to be set in the selected cells. | String | Yes | |
Format mask | A mask to create a custom format. Rules for custom format masks: 1) Any custom text (kg, per, pc, etc.) or characters (including spaces) must be enclosed in quotes. 2) You can specify several (up to 4) different format masks via semicolon. Then the first of the masks will be applied to the cell if the number in the cell is positive, the second - if it is negative, the third - if the cell content is zero and the fourth - if the cell contains not a number but text. 3) 0 (zero) - one mandatory placeholder (digit), i.e. this place in the format mask will be filled with a digit from the number that the user will enter into the cell. If there is No number for this character space, zero will be output. For example, if the mask 0000 is applied to the number 12, 0012 will be output, and if the mask 0.00 is applied to the number 1.3456, 1.35 will be output. 4) # (lattice) - one optional sign space - approximately the same as zero, but if you apply No number to the sign space, nothing is output. 5) (space) - used as a separator of groups of digits of three between thousands, millions, billions, etc. 6) [ ] - in square brackets before the format mask you can specify the font color. The following colors are allowed: black, white, red, blue, green, yellow, light blue. | String | No |
Version
Версия:
- 6 (net)
- 5 (net)
- 4 (net)
- 3 (net)
- 2 (net)
- 1 (net)
Действие устанавливает формат ячеек из указанного диапазона
Настройки
Action sets the format of cells from the specified range
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 | Address of the start cell of the range. Fill in the format "XY", where "X" is the column number and "Y" is the row number. If the field is not filled in, the boundary of the used area is taken. | String | No | |
End cell | Address of the end cell of the range. Fill in the format "XY", where "X" is the column number and "Y" is the row number. If the field is not filled in, the boundary of the used area is taken. If the address of the end cell is less than the address of the start cell, the area that is bounded by these cells will be used. If the address of the end cell is less than the address of the start cell, the area that is limited by these cells will be used. | String | No | |
Format | The format to be set in the selected cells. | String | Yes | |
Format mask | A mask to create a custom format. Rules for custom format masks: 1) Any custom text (kg, per, pc, etc.) or characters (including spaces) must be enclosed in quotes. 2) You can specify several (up to 4) different format masks via semicolon. Then the first of the masks will be applied to the cell if the number in the cell is positive, the second - if it is negative, the third - if the cell content is zero and the fourth - if the cell contains not a number but text. 3) 0 (zero) - one mandatory placeholder (digit), i.e. this place in the format mask will be filled with a digit from the number that the user will enter into the cell. If there is No number for this character space, zero will be output. For example, if the mask 0000 is applied to the number 12, 0012 will be output, and if the mask 0.00 is applied to the number 1.3456, 1.35 will be output. 4) # (lattice) - one optional sign space - approximately the same as zero, but if you apply No number to the sign space, nothing is output. 5) (space) - used as a separator of groups of digits of three between thousands, millions, billions, etc. 6) [ ] - in square brackets before the format mask you can specify the font color. The following colors are allowed: black, white, red, blue, green, yellow, light blue. | String | No | |
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
Параметры | ||||
Контекст | Контекст действия для работы с Excel-документом | Robin.Excel | Контекст excel | Да |
Начальная ячейка | Адрес начальной ячейки диапазона. Заполнять в формате «ХY», где «Х» - это номер столбца, а «Y» - номер строки. Если поле не заполнено, то берется граница используемой области. | Robin.String | Нет | |
Конечная ячейка | Адрес конечной ячейки диапазона. Заполнять в формате «ХY», где «Х» - это номер столбца, а «Y» - номер строки. Если поле не заполнено, то берется граница используемой области. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками. | Robin.String | Нет | |
Формат | Формат, который будет установлен в выбранных ячейках | Robin.String | Да | |
Маска формата | Маска для создания настраиваемого формата. Правила для масок пользовательского формата: 1) Любой пользовательский текст (кг, чел, шт и тому подобные) или символы (в том числе и пробелы) - надо обязательно заключать в кавычки. 2) Можно указать несколько (до 4-х) разных масок форматов через точку с запятой. Тогда первая из масок будет применяться к ячейке, если число в ней положительное, вторая - если отрицательное, третья - если содержимое ячейки равно нулю и четвертая - если в ячейке не число, а текст. 3) 0 (ноль) - одно обязательное знакоместо (разряд), т.е. это место в маске формата будет заполнено цифрой из числа, которое пользователь введет в ячейку. Если для этого знакоместа нет числа, то будет выведен ноль. Например, если к числу 12 применить маску 0000, то получится 0012, а если к числу 1,3456 применить маску 0,00 - получится 1,35. 4) # (решетка) - одно необязательное знакоместо - примерно то же самое, что и ноль, но если для знакоместа нет числа, то ничего не выводится 5) (пробел) - используется как разделитель групп разрядов по три между тысячами, миллионами, миллиардами и т.д. 6) [ ] - в квадратных скобках перед маской формата можно указать цвет шрифта. Разрешено использовать следующие цвета: черный, белый, красный, синий, зеленый, жёлтый, голубой. | Robin.String | Нет |