Delete Worksheet
delete_worksheetRemove a worksheet from an already-open Excel workbook by specifying the workbook and sheet name. Excel blocks deletion of the last visible sheet to keep at least one sheet available.
Instructions
Delete a worksheet from an open workbook.
Args: workbook: Workbook name or path (None = active workbook). name: Sheet to delete (required).
Returns: JSON confirmation. Excel will refuse to delete a workbook's only remaining visible sheet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| workbook | No |