InsertColumns method: PSSpreadsheet class
Syntax
InsertColumns(startcol, colcount)
Description
Use the InsertColumns method to insert one or more columns into the active spreadsheet.
Parameters
| Parameter | Description |
|---|---|
|
startcol |
Specifies the starting column number. |
|
colcount |
Specifies the number of columns to be inserted. |
Returns
(Optional) A Boolean value: True if the method completes successfully, False otherwise.
Example
The following example inserts three columns into the spreadsheet.
&startcol = 2;
&colcount = 3;
&ssObject. InsertColumns(&startcol, &colcount);