Closing the Workbook with Various Options
:
Return to List
ActiveWorkbook.Close
ActiveWorkbook.Close(False)
' To close without saving changes
ActiveWorkbook.Close(True)
' To close with saving changes
See also:
Built-In Dialogs and Argument Lists
Create new Workbook from Worksheet
Deleting a Workbook (i.e., File)
Filename of the active Workbook (full path/name)
File Open Dialog (for browsing and selecting files)
File SaveAs Dialog (for saving files)
Opening a Workbook (known filename)
Saving a Workbook without Dialogs
Working with Workbooks
Note to Webmaster