PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Insert Sheet

Adds a new, empty sheet to an existing Excel workbook.

Insert Sheet adds a new, empty sheet at the end of a workbook. Use it to give a report one sheet per month, per customer or per section.

Add the action

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

The Insert Sheet action properties: Excel workbook and New sheet

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.
New sheetInputTextYesThe name of the sheet to add.

Example

Excel workbookNew sheetResult
orders.xlsx with Orders and EmptySummaryThe workbook now has Orders, Empty and Summary
the same workbookOrdersThe step fails: "Excel error: A sheet named 'Orders' already exists in the current workbook."

Good to know

  • Excel workbook is both the input and the output: the same variable carries the changed file to the next steps. The file keeps its name.
  • Only .xlsx and .xlsm files are accepted.
  • When the step fails, the variable keeps the original, unchanged workbook.

On this page