WorkbookEvents_Event.BeforeClose Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs before the workbook closes. If the workbook has been changed, this event occurs before the user is asked to save changes.
public:
event Microsoft::Office::Interop::Excel::WorkbookEvents_BeforeCloseEventHandler ^ BeforeClose;
event Microsoft.Office.Interop.Excel.WorkbookEvents_BeforeCloseEventHandler BeforeClose;
Event BeforeClose As WorkbookEvents_BeforeCloseEventHandler