Deletes a spreadsheet.
spreadsheetRemoveSheet (spreadsheetObj, sheetname);
→ returns void
<cfset spreadsheetVar= spreadsheetNew('New')>
<cfset spreadsheetCreateSheet(spreadsheetVar,'A')>
<cfset spreadsheetCreateSheet(spreadsheetVar,'B')>
<cfspreadsheet action='write' filename='#dirname#mySpreadSheet.xls' name='spreadsheetVar' overwrite='true' >
<cfspreadsheet action='read' src='#dirname#mySpreadSheet.xls' name='spreadSheetVar' >
<cfset spreadsheetRemoveSheet(spreadsheetVar,'B')>
<cfspreadsheet action='write' filename='#dirname#mySpreadSheet.xls' name='spreadsheetVar' overwrite='true' >
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.