PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Delete Sheet

Removes a sheet, with all its content, from an existing Excel workbook.

Delete Sheet removes one sheet, and everything on it, from a workbook.

Add the action

In the Process Designer toolbox, open Excel and pick Delete Sheet (or type Delete Sheet in the search box).

The Delete Sheet action properties: Excel workbook and Sheet name

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Excel workbookInput and outputFileYesThe workbook to change. Pick a File variable: after the step it holds the changed workbook.
Sheet nameInputTextYesThe name of the sheet to delete.

Example

Excel workbookSheet nameResult
orders.xlsx with Orders and EmptyEmptyThe workbook now has only Orders
the same workbookMissingThe step fails: "Excel error: Could not find any sheet named 'Missing' in the current workbook."

Good to know

  • A workbook must keep at least one sheet. Deleting the last one fails with "Excel Error: Sheet count per workbook can't go lower than 1.".
  • Excel workbook is both the input and the output; the file keeps its name. Only .xlsx and .xlsm files are accepted.

On this page