Compartir a través de


AppEvents_Event.ProtectedViewWindowBeforeClose Event

Occurs immediately before a Protected View window or a workbook in a Protected View window closes.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Event ProtectedViewWindowBeforeClose As AppEvents_ProtectedViewWindowBeforeCloseEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_ProtectedViewWindowBeforeCloseEventHandler

AddHandler instance.ProtectedViewWindowBeforeClose, handler
event AppEvents_ProtectedViewWindowBeforeCloseEventHandler ProtectedViewWindowBeforeClose

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace