VP Cells
VP Cells ( vpAreaName : Text ; column: Integer ; row: Integer ; columnCount : Integer ; rowCount : Integer { ; sheet : Integer } ) : Object
Historique
Release | Modifications |
---|---|
17 R4 | Ajout |
Paramètres | Type | Description | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nom d'objet formulaire zone 4D View Pro | |
column | Integer | -> | Indice de la colonne | |
row | Integer | -> | Indice de la ligne | |
columnCount | Integer | -> | Nombre de colonnes | |
rowCount | Integer | -> | Nombre de lignes | |
sheet | Integer | -> | Numéro d'indice de la feuille (feuille courante si omis) | |
Résultat | Object | <- | 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