Aller au contenu principal
Version: 20 R5 BETA

VP Cells

VP Cells ( vpAreaName : Text ; column: Integer ; row: Integer ; columnCount : Integer ; rowCount : Integer { ; sheet : Integer } ) : Object

Historique
ReleaseModifications
17 R4Ajout
ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
columnInteger->Indice de la colonne
rowInteger->Indice de la ligne
columnCountInteger->Nombre de colonnes
rowCountInteger->Nombre de lignes
sheetInteger->Numéro d'indice de la feuille (feuille courante si omis)
RésultatObject<-Objet plage de toutes les cellules

Description

The VP Cells command returns a new range object referencing specific cells.

In vpAreaName, pass the name of the 4D View Pro area. Si vous passez un nom inexistant, une erreur est retournée.

The column parameter defines the first column of the cell range. Passez l'indice de la colonne (la numérotation commence à zéro) dans ce paramètre. If the range is within multiple columns, you should also use the columnCount parameter.

In the row parameter, you can define the row(s) of the cell range's position. Passez l'indice de la ligne (la numérotation commence à zéro) dans ce paramètre. If the range is within multiple rows, you should also use the rowCount parameter.

The columnCount parameter allows you to define the total number of columns the range is within. columnCount must be greater than 0.

The rowCount parameter allows you to define the total number of rows the range is within. rowCount must be greater than 0.

In the optional sheet parameter, you can designate a specific spreadsheet where the range will be defined (counting begins at 0). If omitted or if you pass vk current sheet, the current spreadsheet is used by default.

Exemple

Vous souhaitez définir un objet plage pour les cellules suivantes (de la feuille courante) :

Le code est le suivant :

$cells:=VP Cells("ViewProArea";2;4;2;3) // de C5 à D7

Voir également

VP All
VP Cell
VP Column
VP Combine ranges
VP Name
VP Row