Microsoft SharePoint Excel icon

Microsoft SharePoint Excel

Read and write Excel files in SharePoint (bypasses WAC token issues).

Sheet → Delete

AI-generated

Summary

Delete a worksheet from the selected SharePoint Excel workbook. Choose the SharePoint site, drive, Excel file, and sheet using the lists or enter their IDs or name; the workbook must contain at least one other sheet.

Inputs

  • Site (required) — SharePoint site, selected from the list or entered by ID.
  • Drive (required) — Document library or drive containing the Excel file, selected from the list or entered by ID.
  • File (required) — Excel (.xlsx) file, selected from the list or entered by ID.
  • Sheet (required) — Worksheet to delete, selected from the list or entered by name.

Output shape

A single item containing a JSON object on success.

The object includes success: true, deletedSheet with the deleted sheet’s name, and remainingSheets with the names of the workbook’s other sheets. The operation saves the modified workbook. It errors if the named sheet is missing or is the workbook’s last sheet.

Links

Discussion