Skip to main content
Version: 20 R7 BETA

VP ADD SELECTION

VP ADD SELECTION ( rangeObj : Object )

ParameterTypeDescription
rangeObjText->Range object

Description

The VP ADD SELECTION command adds the specified cells to the currently selected cells.

In rangeObj, pass a range object of cells to add to the current selection.

The active cell is not modified.

Example

You have cells currently selected:

The following code will add cells to your selection:

$currentSelection:=VP Cells("myVPArea";3;4;2;3)
VP ADD SELECTION($currentSelection)

Result:

See also

VP Get active cell
VP Get selection
VP RESET SELECTION
VP SET ACTIVE CELL
VP SET SELECTION
VP SHOW CELL