Skip to main content

Create worksheet

Create a worksheet at the end or at a position; when a sheet of that name exists the step stops, unless 'replace' is ticked, which deletes that sheet and everything on it first.

Command in the Excel toolkit · id ooa.excel/add_sheet · 5 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
NameStringNoWorksheet name; the next free SheetN name when empty.
ReplaceBooleanNotrueWhen a sheet with this name exists, delete it with all its content and create an empty one; when off, the step stops with an error instead (the default for new steps).
SessionStringNoexcelWorkbook session.
PositionNumberNo1-based position among the sheets; at the end when empty.
ActivateBooleanNofalseMake the new sheet the active one.

Outputs​

OutputTypeWhat it is
nameStringName of the new worksheet.