-
-
Notifications
You must be signed in to change notification settings - Fork 36
deleteColumns
Julian Halliwell edited this page Feb 25, 2015
·
5 revisions
Deletes the data in multiple columns (without deleting the columns).
deleteColumns( workbook, range )
##Required arguments
-
workbook
spreadsheet object -
range
string: a comma-delimited list of ranges.Each value can be either a single number or a range of numbers with a hyphen, e.g. "1,2-5"
##Example
data = QueryNew( "First,Last","VarChar,VarChar",[ [ "Susi","Sorglos" ],[ "Frumpo","McNugget" ] ] );
spreadsheet = New spreadsheet();
workbook = spreadsheet.workbookFromQuery( data );
spreadsheet.deleteColumns( workbook,"1-2" );