Aller au contenu principal
Version: Next

VP COLUMN AUTOFIT

VP COLUMN AUTOFIT ( rangeObj : Object )

ParamètresTypeDescription
rangeObjObject->Objet plage

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.

Exemple

Les colonnes suivantes sont toutes de la même taille et n'affichent pas certaines parties du texte :

La sélection des colonnes et l'exécution du code suivant :

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

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

Voir également

VP ROW AUTOFIT