WorkbookEvents_Event.BeforeClose WorkbookEvents_Event.BeforeClose WorkbookEvents_Event.BeforeClose Event

Definition

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 

Applies to