Create workbook
Create a new empty .xlsx file on disk with one named sheet and open it as a session; optionally with a password to open, a password to edit and a sensitivity label.
Command in the Excel toolkit · id ooa.excel/create_workbook · 10 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Path of the new workbook. | |
| Sheet | String | No | Sheet1 | Name of the first worksheet. |
| Overwrite | Boolean | No | false | Replace a file that already exists at the path. |
| Session | String | No | excel | Session name used by later steps. |
| Password | Credential | No | Encrypt the file with this password; later saves keep it encrypted. | |
| Edit password | Credential | No | Password to modify: Excel asks for it, or offers to open the file read-only. | |
| Sensitivity label | String | No | Sensitivity label id (a GUID) to put on the workbook; it may come from the vault. | |
| Label site ID | String | No | Microsoft 365 tenant id (a GUID) the label belongs to. | |
| Continue if label fails | Boolean | No | false | When the label cannot be set, log a warning and go on instead of stopping. |
| Share | Boolean | No | false | Agents this one runs may use it. |