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

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

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

Add row Version 3 (Net)

Action group: Excel 


Description

The action allows you to add a row on top of the row selected by index in an Excel document.

Action icon

Settings of parameters

Свойство

Описание

Тип

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

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

Параметры

Контекст

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

Robin.Excel

Контекст excel

Да

Индекс строки

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

Robin.Numeric


Да

Значения

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

Robin.Collection


Нет

Special conditions of use

None.

Example of use

Task

There is an Excel-document with a table.

Add a row with data after the first row in the table.

Solution

Use the "Open", "Add row", "Save" actions.

Implementation

  1. Assemble a robot scheme with the actions.
  2. Set the "Open" action parameters.
  3. Set the "Add row" action parameters.

    In the "Value" field specify the data that will appear in the new row.
  4. Set the "Save" action parameters.
  5. Click "Start" in the top panel.

Result

The program robot completed successfully.

The new row was added to the table.

  • Нет меток