[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IWorkbook.Close

Close Method

Close(bool, string)

Closes this workbook.

Declaration
void Close(bool saveChanges = false, string filename = null)
Sub Close(Optional saveChanges As Boolean = False, Optional filename As String = Nothing)
Parameters
Type Name Description
bool saveChanges

If there are no changes to the workbook, this argument is ignored. If set to True , changes are saved to the workbook. If there is not yet a file name associated with the workbook, then filename is used. If filename is omitted and there is no file name associated with the workbook, saveChanges is ignored.

string filename

Save changes under this file name.