Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 15 Текущий »

Set range color Version 3 (Net)

Action group: Google services


Description

The action sets color for a range.

Action icon

Settings of parameters 

Свойство

Описание

Тип

Пример заполненияОбязательность заполнения поля
Параметры

Контекст

Идентификатор сеанса, к которому будет применено действие.

Robin.SpreadSheets 

GoogleTablesInstanceДа

ID документа

Идентификатор документа, к которому необходимо применить действие.Строка12Q3VXVkv-6Y2IMHДа

Лист

Наименование рабочего листа.

По умолчанию первый лист документа.

СтрокаЛист1Нет

Ячейка От

Адрес начальной ячейки, от которой будет устанавливаться цвет.

Заполнять в формате "ХY", где "Х" - это имя столбца, а "Y" - номер строки.

По умолчанию "А1"

СтрокаА1Нет

Ячейка До

Адрес конечной ячейки, до которой будет устанавливаться цвет.

Заполнять в формате "ХY", где "Х" - это имя столбца, а "Y" - номер строки.

По умолчанию до конца листа.

СтрокаС9Нет
Цвет

Цвет заливки, который нужно установить.


Выпадающий список допустимых цветов:

  • Нет цвета - No color
  • Белый - White
  • Темно-красный - Dark Red
  • Красный - Red
  • Оранжевый - Orange
  • Желтый - Yellow
  • Светло-зеленый - Light Green
  • Зеленый - Green
  • Голубой - Light Blue
  • Синий - Blue
  • Темно-синий - Dark Blue
  • Фиолетовый - Purple
  • Настраиваемый - Custom
Строка

Да
Код цвета16-ричный код настраиваемого цвета, который будет применен, если в параметре "Цвет" было выбрано значение "Настраиваемый".Строка
#526d3cНет

Special conditions of use

The Google Sheets API has a limit of up to 60 read-requests per user per minute. To ensure that the action does not immediately generate an error when the limit on the number of requests is reached, the action includes a loop operation that will resend requests within a minute.

  • If the request is completed in that time, the action will complete successfully.
  • If the request cannot be sent in this time, the robot will terminate with an error.

Example of use

Task 

There is a Google spreadsheet. Set a color of the range from cell "B2" to "E4" to yellow.

Solution

Use the "Context Google tables", "Set range color" actions.

Implementation

  1. Assemble a robot scheme with the actions:
  2. Set the "Context Google tables" action parameters.

    Fill in the "The file path" and "Application name" fields (more about filling in these fields in section Instructions for setting up a connection to Google Sheets/Docs/Drive).
  3. Set the "Set range color" action parameters.

    In the ID field specify the part of the table's link.
  4. Click "Start" in the top panel to start the robot.

Result

The program robot completed successfully.

The color is set for the range.

  • Нет меток