Skip to main content

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​

InputTypeRequiredDefaultWhat it is
PathFileYesSource file.
TargetFileYesTarget file; the format follows its extension (.xlsx, .xlsm, .xlsb, .xls, .csv, .txt, .ods, .xltx, .xltm).
OverwriteBooleanNotrueReplace the target when it already exists; false stops with EXCEL_DESKTOP.EXISTS.
PasswordCredentialNoPassword needed to open the workbook; passed to Excel through the environment, not the command line.
New passwordCredentialNoPassword needed to open the converted file; none when empty.