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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Name | String | No | Worksheet name; the next free SheetN name when empty. | |
| Replace | Boolean | No | true | When 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). |
| Session | String | No | excel | Workbook session. |
| Position | Number | No | 1-based position among the sheets; at the end when empty. | |
| Activate | Boolean | No | false | Make the new sheet the active one. |
Outputs
| Output | Type | What it is |
|---|---|---|
| name | String | Name of the new worksheet. |