The VP DELETE COLUMNS command removes the columns in the rangeObj.
In rangeObj, pass an object containing a range of columns to remove. If the passed range contains:
- both columns and rows, only the columns are removed.
- only rows, the command does nothing.
Note: Columns are deleted from right to left.
To delete columns selected by the user (in the image below columns B, C, and D):

use the following code: