Apps Script APIs > SpreadsheetApp > deleteSheet

SpreadsheetApp.deleteSheet()

What it does

Tutorials and snippets that call deleteSheet() in code that also uses SpreadsheetApp.

2 Better Sheets tutorials

Automatically Copy Spreadsheet Tab to New File with Values Only, No Formulas

Automatically Copy Spreadsheet Tab to New File with Values Only, No Formulas

Automatically copy a spreadsheet tab to a whole new spreadsheet file, ge...
Automatically Delete All Sheets If Not Listed Name

Automatically Delete All Sheets If Not Listed Name

A raw, 1 shot take of figuring out how to automatically delete all sheet...

2 Snippets using this methods

Related blog posts

Written guides about SpreadsheetApp.deleteSheet().

Browse the blog