VP DELETE ROWS
VP DELETE ROWS ( rangeObj : Object )
Parameter | Type | Description | |
---|---|---|---|
rangeObj | Object | -> | Range object |
Description
The VP DELETE ROWS
command removes the rows in the rangeObj.
In rangeObj, pass an object containing a range of rows to remove. If the passed range contains:
- both columns and rows, only the rows are removed.
- only columns, the command does nothing.
Rows are deleted from bottom to top.
Example
To delete rows selected by the user (in the image below rows 1, 2, and 3):
use the following code:
VP DELETE ROWS(VP Get selection("ViewProArea"))