Excel.Application
The value of the second parameter in SaveAs:
You can replace these XL types on the left directly with the values of the ten-binary .
For example: Convert Excel to HTML JS:
FileFormat type decimal value specific file type
XlAddIn18 Microsoft Excel add-in
xlAddIn818 Microsoft Excel 97-2003 add-in
Xlcsv 6CSV
XLCSVMAC22 Macintosh CSV
XlCSVMSDOS24 MSDOS CSV
XlCSVWindows23 Windows CSV
xlCurrentPlatformText-4158 Current Platform Text
XlDBF2 7DBF2
XlDBF3 8DBF3
XlDBF4 11dbf4
Xldif 9DIF
xlExcel1250 Excel12
xlExcel216 Excel2
Xlexcel2fareast27 Excel2 FarEast
xlExcel329 Excel3
xlExcel433 Excel4
Xlexcel4workbook35 Excel4 Workbook
xlExcel539 Excel5
xlExcel739 EXCEL7
xlExcel856 Excel8
xlExcel979543 Excel9795
xlhtml 44HTML Format
XLINTLADDIN26 International add-in
XLINTLMACRO25 International Macro
XlOpenXMLAddIn55 Open XML add-in
XlOpenXMLTemplate54 Open XML Template
xlOpenXMLTemplateMacroEnabled53 Open XML Template Macro Enabled
xlOpenXMLWorkbook51 Open XML Workbook
XlOpenXMLWorkbookMacroEnabled52 Open XML Workbook Macro Enabled
Xlsylk 2SYLK
XlTemplate17 Template
xlTemplate817 Template 8
XlTextMac19 Macintosh Text
XlTextMSDOS21 MSDOS Text
XlTextPrinter36 Printer Text
XLTEXTWINDOWS20 Windows Text
XlUnicodeText42 Unicode Text
XlWebArchive45 Web Archive
xlwj2wd114 WJ2WD1
XlWJ3 40wj3
xlwj3fj341 wj3fj3
XlWK1 5WK1
Xlwk1all31 Wk1all
Xlwk1fmt30 wk1fmt
XlWK3 15WK3
xlwk3fm332 WK3FM3
XlWK4 38WK4
Xlwks 4Worksheet
XlWorkbookDefault51 Workbook Default
xlWorkbookNormal-4143 Workbook Normal
Xlworks2fareast28 Works2 FarEast
XlWQ1 34wq1
XlXMLSpreadsheet46 XML Spreadsheet