Convert workbook
Save a workbook in another format, e.g. .xls to .xlsx or .csv to .xlsx, optionally with a password on the new file.
Command in the Excel desktop toolkit · id ooa.excel_desktop/convert · 5 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Source file. | |
| Target | File | Yes | Target file; the format follows its extension (.xlsx, .xlsm, .xlsb, .xls, .csv, .txt, .ods, .xltx, .xltm). | |
| Overwrite | Boolean | No | true | Replace the target when it already exists; false stops with EXCEL_DESKTOP.EXISTS. |
| Password | Credential | No | Password needed to open the workbook; passed to Excel through the environment, not the command line. | |
| New password | Credential | No | Password needed to open the converted file; none when empty. |