Skip to main content
Version: 20 R6 BETA

VP DELETE ROWS

VP DELETE ROWS ( rangeObj : Object )

ParameterTypeDescription
rangeObjObject->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"))

See also

VP DELETE ROWS
VP INSERT COLUMNS
VP INSERT ROWS