Skip to main content
Version: 20 R6

VP COLUMN AUTOFIT

VP COLUMN AUTOFIT ( rangeObj : Object )

ParameterTypeDescription
rangeObjObject->Range object

Description

The VP COLUMN AUTOFIT command automatically sizes the column(s) in rangeObj according to their contents.

In rangeObj, pass a range object containing a range of the columns whose size will be automatically handled.

Example

The following columns are all the same size and don't display some of the text:

Selecting the columns and running this code:

 VP COLUMN AUTOFIT(VP Get selection("ViewProarea"))

... resizes the columns to fit the size of the contents:

See also

VP ROW AUTOFIT