The VP DELETE ROWS command removes the rows in the rangeObj.
In rangeObj, pass a range object describing the rows to remove. If the passed range contains:
- both columns and rows, only the rows are removed.
- only columns, the command does nothing.
Note: Rows are deleted from bottom to top.
To delete rows selected by the user (in the image below rows 1, 2, and 3):

use the following code: