[]
Closes this workbook.
void Close(bool saveChanges = false, string filename = null)
Sub Close(Optional saveChanges As Boolean = False, Optional filename As String = Nothing)
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 |
string | filename | Save changes under this file name. |