RangeColOutline method: PSSpreadsheet class

Syntax

RangeColOutline(startcol, colcount, collapse)

Description

Use the RangeColOutline method to expand or collapse a range of columns in the active spreadsheet.

Parameters

Parameter Description

startcol

Specifies the starting column number.

colcount

Specifies the number of columns to be expanded or collapsed.

collapse

Specifies a Boolean value indicating whether to collapse or expand the columns.

Returns

(Optional) A Boolean value: True if the method completes successfully, False otherwise.

Example

The following example collapses three columns.

&startcol = 2;
&colcount = 3;
&b_collapse = True;
&ssObject.RangeColOutline(&startcol, &colcount, &b_collapse);