Delete sheet
delete_sheetRemove a worksheet and all its contents from an Excel workbook by specifying the file path and sheet name. Useful for cleaning up or reorganizing workbook structure.
Instructions
Delete a worksheet and everything on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to an .xlsx, .xlsm, .xltx or .xltm file. Relative paths are resolved in the server's workbook directory when one is configured; otherwise use an absolute path. | |
| sheet | Yes | Worksheet name, e.g. 'Sheet1'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |