Save as
Save the workbook to a new file as xlsx, xls or csv, optionally password-protected; after xlsx or xls the session continues on the new file.
Command in the Excel toolkit · id ooa.excel/save_as · 6 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Target file path. | |
| Format | String | No | File format; taken from the file extension when empty. | |
| Sheet | String | No | Sheet written for csv; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
| Overwrite | Boolean | No | true | Replace a file that already exists at the target path; false stops with EXCEL.EXISTS. |
| Password | Credential | No | Encrypt the new xlsx or xls file with this password; later saves keep it. Not used for csv. |