Condividi tramite


Workbook.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;
member this.BeforeClose : Microsoft.Office.Interop.Excel.WorkbookEvents_BeforeCloseEventHandler 
Event BeforeClose As WorkbookEvents_BeforeCloseEventHandler 

Event Type

Applies to