Aller au contenu principal
Version: Next

VP Combine ranges

VP Combine ranges ( rangeObj : Object ; otherRangeObj : Object {;...otherRangeObjN : Object } ) : Object

ParamètresTypeDescription
rangeObjObject->Objet plage
otherRangeObjObject->Objet plage
RésultatObject<-Objet contenant une plage combinée

Description

The VP Combine Ranges command returns a new range object that incorporates two or more existing range objects. Toutes les plages doivent provenir de la même zone 4D View Pro.

In rangeObj, pass the first range object.

In otherRangeObj, pass another range object(s) to combine with rangeObj.

The command incorporates rangeObj and otherRangeObj objects by reference.

Exemple

Vous souhaitez combiner des plages de type cellule, colonne et ligne dans une nouvelle plage distincte :

 $cell:=VP Cell("ViewProArea";2;4) // C5
$column:=VP Column("ViewProArea";3) // column D
$row:=VP Row("ViewProArea";9) // row 10

$combine:=VP Combine ranges($cell;$column;$row)

Voir également

VP All
VP Cells
VP Column
VP Name
VP Row
VP SET COLUMN ATTRIBUTES