SaveFormat

SaveFormat enumeration

Utility class containing constants. Represents the format in which the workbook is saved.

Values

NameDescription
CSVComma-Separated Values(CSV) text file.
XLSXRepresents an xlsx file.
XLSMRepresents an xlsm file which enable macros.
XLTXRepresents an xltx file.
XLTMRepresents an xltm file which enable macros.
XLAMRepresents an xltm file which enable addin macros.
TSVTab-Separated Values(TSV) text file.
TAB_DELIMITEDRepresents a tab delimited text file, same with TSV .
HTMLRepresents a html file.
M_HTMLRepresents a mhtml file.
ODSOpen Document Sheet(ODS) file.
EXCEL_97_TO_2003Represents an Excel97-2003 xls file.
SPREADSHEET_MLRepresents an Excel 2003 xml file.
XLSBRepresents an xlsb file.
AUTOIf saving the file to the disk,the file format accords to the extension of the file name. If saving the file to the stream, the file format is xlsx.
UNKNOWNRepresents unrecognized format, cannot be saved.
PDFRepresents a Pdf file.
XPSXPS (XML Paper Specification) format.
TIFFRepresents a TIFF file.
SVGSVG file.
DIFData Interchange Format.
OTSOpen Document Template Sheet(OTS) file.
XLTExcel 97-2003 template file.
XMLRepresents a simple xml file.
NUMBERSRepresents a numbers file. Not supported.
MARKDOWNRepresents markdown document.
FODSRepresents OpenDocument Flat XML Spreadsheet (.fods) file format.
SXCRepresents StarOffice Calc Spreadsheet (.sxc) file format.
PPTXRepresents .pptx file.
DOCXRepresents .docx file.
EMFWindows Enhanced Metafile.
JPGJPEG JFIF.
PNGPortable Network Graphics.
BMPWindows Bitmap
GIFGif
JSONJson
SQL_SCRIPTSql
X_HTMLRrepesents XHtml file.
EPUBRepresents Epub file.
AZW_3Represents Azw3 file.
PCL
OFD
DBF