Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Workbook Class / Save Method


In This Topic
    Save Method (Workbook)
    In This Topic
    Saves changes to the specified workbook.
    Syntax
    'Declaration
     
    
    Public Function Save() As Boolean
    'Usage
     
    
    Dim instance As Workbook
    Dim value As Boolean
     
    value = instance.Save()
    public bool Save()

    Return Value

    true if changes are saved successful, false otherwise.
    Remarks
    To open a workbook file, use the IWorkbooks.Open method or IWorkbooks.Open method.

    To mark a workbook as saved without writing it to a disk, set its Saved property to True.

    The first time you save a workbook, use the SaveAs(Stream,FileFormat,String,ExportContext) method or SaveAs(String,FileFormat,String,ExportContext) method to specify a name for the file.

    See Also