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

Ключ

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

Группа действийAction group: Excel Установить формат диапазона  Excel Set range format


Action iconИконка действия

Версия

Version:

  • 8 (net)

Действие устанавливает формат ячеек из указанного диапазона

Настройки

СвойствоОписаниеТипПример заполненияОбязательность заполнения поляПараметрыКонтекстКонтекст действия для работы с Excel-документомRobin.ExcelКонтекст excelДаИмя столбца начальной ячейкиИмя столбца начальной ячейки диапазона. Если поле не заполнено, то берется значение из поля «Индекс столбца начальной ячейки».Robin.String НетИндекс столбца начальной ячейкиИндекс столбца начальной ячейки (начало диапазона), от которой будет установлена область. Если поле не заполнено, то берется граница используемой области.Robin.Numeric НетСтрока начальной ячейкиСтрока начальной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.Robin.Numeric НетИмя столбца конечной ячейкиИмя столбца конечной ячейки диапазона. Если поле не заполнено, то берется значение из поля «Индекс столбца конечной ячейки».Robin.String НетИндекс столбца конечной ячейкиИндекс столбца конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.Robin.Numeric НетСтрока конечной ячейкиСтрока конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками.Robin.Numeric НетФорматФормат, который будет установлен в выбранных ячейкахRobin.String ДаМаска форматаМаска для создания настраиваемого формата. Правила для масок пользовательского формата: 1) Любой пользовательский текст (кг, чел, шт и тому подобные) или символы (в том числе и пробелы) - надо обязательно заключать в кавычки. 2) Можно указать несколько (до 4-х) разных масок форматов через точку с запятой. Тогда первая из масок будет применяться к ячейке, если число в ней положительное, вторая - если отрицательное, третья - если содержимое ячейки равно нулю и четвертая - если в ячейке не число, а текст. 3) 0 (ноль) - одно обязательное знакоместо (разряд), т.е. это место в маске формата будет заполнено цифрой из числа, которое пользователь введет в ячейку. Если для этого знакоместа нет числа, то будет выведен ноль. Например, если к числу 12 применить маску 0000, то получится 0012, а если к числу 1,3456 применить маску 0,00 - получится 1,35. 4) # (решетка) - одно необязательное знакоместо - примерно то же самое, что и ноль, но если для знакоместа нет числа, то ничего не выводится 5) (пробел) - используется как разделитель групп разрядов по три между тысячами, миллионами, миллиардами и т.д. 6) [ ] - в квадратных скобках перед маской формата можно указать цвет шрифта. Разрешено использовать следующие цвета: черный, белый, красный, синий, зеленый, жёлтый, голубой.Robin.String Нет

Версия:

  • 7 (net)

Действие устанавливает формат ячеек из указанного диапазона

Настройки

СвойствоОписаниеТипПример заполненияОбязательность заполнения поляПараметрыКонтекстКонтекст действия для работы с Excel-документомRobin.ExcelКонтекст excelДаСтолбец начальной ячейкиСтолбец начальной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.Robin.String НетСтрока начальной ячейкиСтрока начальной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.Robin.Numeric НетСтолбец конечной ячейкиСтолбец конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками.Robin.String НетСтрока конечной ячейкиСтрока конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками.Robin.Numeric НетФорматФормат, который будет установлен в выбранных ячейкахRobin.String ДаМаска форматаМаска для создания настраиваемого формата. Правила для масок пользовательского формата: 1) Любой пользовательский текст (кг, чел, шт и тому подобные) или символы (в том числе и пробелы) - надо обязательно заключать в кавычки. 2) Можно указать несколько (до 4-х) разных масок форматов через точку с запятой. Тогда первая из масок будет применяться к ячейке, если число в ней положительное, вторая - если отрицательное, третья - если содержимое ячейки равно нулю и четвертая - если в ячейке не число, а текст. 3) 0 (ноль) - одно обязательное знакоместо (разряд), т.е. это место в маске формата будет заполнено цифрой из числа, которое пользователь введет в ячейку. Если для этого знакоместа нет числа, то будет выведен ноль. Например, если к числу 12 применить маску 0000, то получится 0012, а если к числу 1,3456 применить маску 0,00 - получится 1,35. 4) # (решетка) - одно необязательное знакоместо - примерно то же самое, что и ноль, но если для знакоместа нет числа, то ничего не выводится 5) (пробел) - используется как разделитель групп разрядов по три между тысячами, миллионами, миллиардами и т.д. 6) [ ] - в квадратных скобках перед маской формата можно указать цвет шрифта. Разрешено использовать следующие цвета: черный, белый, красный, синий, зеленый, жёлтый, голубой.Robin.String Нет

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 nameThe 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 indexColumn 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 rowRow 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 nameThe 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 indexThe 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 rowRow 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
FormatThe 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 nameColumn 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 rowRow 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 nameColumn 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 rowRow 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
FormatThe 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 cellAddress 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 cellAddress 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
FormatThe 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 Нет