AppEvents_Event.WorkbookBeforeClose 事件

定义

当任一打开的工作簿关闭之前立即发生此事件。

public:
 event Microsoft::Office::Interop::Excel::AppEvents_WorkbookBeforeCloseEventHandler ^ WorkbookBeforeClose;
event Microsoft.Office.Interop.Excel.AppEvents_WorkbookBeforeCloseEventHandler WorkbookBeforeClose;
Event WorkbookBeforeClose As AppEvents_WorkbookBeforeCloseEventHandler 

事件类型

适用于