Skip to main content

Save Workbook As

Excel·v1.11.1
ExcelWorkbookWrites files

Write a copy of the workbook in another format, leaving the original as it is. xlsx and csv need nothing installed; pdf, xls, xlsb and macro-preserving xlsm go through Excel on Windows

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequired
Save As
filePath
fileRequiredThe file to write. The original is left as it is
Format
format
enumOptionalLeave unset to take it from the file name. xls, xlsb, xlsm and pdf need Excel installed
xlsxcsvpdfxlsxlsbxlsm
Sheet Name
sheetName
stringOptionalWhich sheet, for csv and pdf. Leave empty for the first sheet
Output Variable
outputVariable
variableOptionalSavedFilePath

Output

$outputVariableString

The path of the file that was written

Compatibility

WindowsLinuxAttendedUnattended

Related activities