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

Ключ

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

...

Set range color Version 9 (Net)

Группа действийAction group: Excel 

Описание

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

...

Description

The action sets the color to the cells of the specified range.

Icon

...

 

Параметры

Входные параметры  

Контекст                                                                  Контекст действия для работы с Excel-документом

Имя столбца начальной ячейки                           Имя столбца начальной ячейки диапазона.

Индекс столбца начальной ячейки                      Индекс столбца начальной ячейки (начало диапазона), от которой будет установлена область.

Строка начальной ячейки                                     Строка начальной ячейки диапазона.

Имя столбца конечной ячейки                             Имя столбца конечной ячейки диапазона.

Индекс столбца конечной ячейки                        Индекс столбца конечной ячейки диапазона.

Строка конечной ячейки                                       Строка конечной ячейки диапазона.

Цвет                                                                         Цвет, который будет установлен в ячейках диапазона.

RGB код                                                                   RGB код для создания настраиваемого цвета.

Настройки

...

Свойство

...

Описание

...

Тип

...

Пример заполнения

...

Обязательность заполнения поля

...

Параметры

...

Контекст

...

Контекст действия для работы с Excel-документом

...

Robin.Excel

...

Контекст excel

...

Да

...

Имя столбца начальной ячейки

...

Имя столбца начальной ячейки диапазона. Если поле не заполнено, то берется значение из поля «Индекс столбца начальной ячейки».

...

Robin.String

...

Нет

...

Индекс столбца начальной ячейки

...

Индекс столбца начальной ячейки (начало диапазона), от которой будет установлена область. Если поле не заполнено, то берется граница используемой области.

...

Robin.Numeric

...

Нет

...

Строка начальной ячейки

...

Строка начальной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.

...

Robin.Numeric

...

Нет

...

Имя столбца конечной ячейки

...

Имя столбца конечной ячейки диапазона. Если поле не заполнено, то берется значение из поля «Индекс столбца конечной ячейки».

...

Robin.String

...

Нет

...

Индекс столбца конечной ячейки

...

Индекс столбца конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области.

...

Robin.Numeric

...

Нет

...

Строка конечной ячейки

...

Строка конечной ячейки диапазона. Если поле не заполнено, то берется граница используемой области. Если адрес конечной ячейки будет меньше адреса начальной ячейки, то будет использована область которая ограничивается этими ячейками.

...

Robin.Numeric

...

Нет

Parameters

Input parameters

NameDescription
ContextThe action context for working with an Excel document.
Start cell column nameThe column name of the start cell of the range.
Start cell column indexThe column index of the start cell (the beginning of the range) from which the scope will be set.
Start cell rowThe row of the start cell of the range.
End cell column nameThe column name of the end cell of the range.
End cell column indexThe column index of the end cell of the range.
End cell rowThe row of the range's end cell.
ColorThe color to be set in the cells of the range.
RGB codeRGB code to create a customizable color.

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

The 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 limited to these cells will be used.

Numeric


No

Color

The color to be set in the cells of the range.

String


Yes

RGB code

RGB code to create a customizable color. It is in the format: {value for channel R}, {value for channel G}, {value for channel B}.

String


No

Special conditions of use

None.

Example of use

Task

There is an Excel document. You need to set a specific color for cells in the specified ranges. 

Solution

Use the actions "Open", Set range color", "Save".

Implementation

  1. Assemble a robot scheme consisting of actions:
    Image Added

  2. Configure parameters for the "Open" action:
    Image Added

  3. Configure the parameters for the "Set range color" action. 
    Image Added

  4. Customize the parameter for the "Save" action. 
    Image Added

Result

The result of the performed actions was the setting of the selected color in the specified ranges together with the parameter "RGB - code"

Image Added

The color of the specified range with the RGB parameter

...

Цвет

...

Цвет, который будет установлен в ячейках диапазона.

...

Robin.String

...

Да

...

RGB код

...

RGB код для создания настраиваемого цвета. Водится в формате: {значение для канала R}, {значение для канала G}, {значение для канала B}

...

Robin.String

...

Нет

Особые условия использования

Отсутствуют.

Пример использования

Задача

Существует Excel-документ. Необходимо задать конкретный цвет ячейкам в указанных диапазонах. 

Решение

Воспользоваться действиями "Открыть", Установить цвет диапазона", "Сохранить".

Реализация 

...

Результат

Результатом выполненных действий стала установка выбранного цвета в указанных диапазонах вместе с параметром "RGB - код"

Image Removed

Цвет указанного диапазона с параметром RGB.