Skip to main content
Version: Next

VP SET ACTIVE CELL

VP SET ACTIVE CELL ( rangeObj : Object)

ParameterTypeDescription
rangeObjObject->Range object

Description

The VP SET ACTIVE CELL command defines a specified cell as active.

In rangeObj, pass a range containing a single cell as an object (see VP Cell). If rangeObj is not a cell range or contains multiple ranges, the first cell of the first range is used.

Example

To set the cell in column D, row 5 as the active cell:

$activeCell:=VP Cell("myVPArea";3;4)
VP SET ACTIVE CELL($activeCell)

See also

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