delete_sheet
Remove a named sheet from an Excel .xlsx workbook, preventing deletion when it is the only sheet left.
Instructions
Delete a sheet from a workbook. Fails if it is the only sheet left.
Args: path: Path to the .xlsx file, or the name of a preloaded file. Omit if only one file is configured. sheet: Sheet name to delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| sheet | Yes | ||
| backup | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||