Share this page

# TC.vtcAddCells

Adds data in multiple columns.

If the columns specified in the argument do not exist, the columns are created, and the cell contents are set to the argument values.

Equivalent method in VuGen: lrvtc_send_row1

    TC.vtcAddCells(colNames, values, option, vtsName);

## Arguments

Name | Description
--- | ---
colNames | (string) Names of the columns, delimited by a semicolon.
values | (string) Values, delimited by a semicolon.
option | (number) Defines how the values are added. 0. Add as the same row in all columns, based on the column with the highest row count. The created row is n+1 for all columns. 1. Add as stack: Last row in every column. 2. Add as unique stack: Last row in every column, but only if the value is unique in the column.
vtsName (Optional) | (string) Alias of the VTS server.

## Return value

1 if completed successfully. If unsuccessful, it throws an exception message.

## Example

Copy code

    TC.vtcAddCells("MyColumn1;MyColumn2;MyColumn3", "MyValue1;MyValue2;MyValue3", 0, "MyVts");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: