Link Search Menu Expand Document

SSpread.ExportExcelBook Method

Explanation Export to an Excel format file.

The exported file will be in the format up to Excel 2003 (BIFF8 format).

Use the ExportExcelBookEx method to specify how to handle the formula. Use the ExportToExcel method to specify the sheet name.
Call format ExportExcelBook(Writer)
Return value None
Arguments Writer Export destination Writer Object
Exception EXT-25 No valid Writer object specified
EXT-28 An error occurred in the ExportExcelBook method
Example of use
    var fs = new FileSystem();
    var f = fs.SaveDialog("保存", "Excel File(*.xls)=*.xls", "xls", "");
    ExportExcelBook(f);
    f.Close();
    
Related item ExportExcelBookEx, ExportToExcel, ImportExcelSheet methods