Description Usage Arguments Value See Also Examples
Move a spreadsheet to trash on Google Drive. You must own a sheet in order to move it to the trash. If you try to delete a sheet you do not own, a 403 Forbidden HTTP status code will be returned; third party spreadsheets can only be moved to the trash manually in the web browser (which only removes them from your Google Sheets home screen, in any case). If you trash a spreadsheet that is shared with others, it will no longer appear in any of their Google Drives. If you delete something by mistake, remain calm, and visit the trash in Google Drive, find the sheet, and restore it.
1 |
ss |
a registered Google spreadsheet, i.e. a |
verbose |
logical; do you want informative messages? |
logical indicating if the deletion was successful
gs_grepdel
and gs_vecdel
for handy
wrappers that help you delete sheets by title, with the ability to delete
multiple sheets at once
Other sheet deletion functions: gs_grepdel
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.