Spreadsheet.DeleteCases
This function deletes the specified range of cases from the spreadsheet.
SVB Example
Deleting cases and variables from a spreadsheet:
Option Base 1 Option Explicit Sub Main Dim spr As Spreadsheet 'assigns the active spreadsheet to the object spr Set spr = ActiveSpreadsheet 'deletes cases 1-5 from the spreadsheet spr.DeleteCases(1,5) 'deletes variables 1-5 from the spreadsheet spr.DeleteVariables(1,5) End Sub
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.