AppEvents_ProtectedViewWindowOpenEventHandler Delegate
A Delegate type used to add an event handler for the ProtectedViewWindowOpen event. The ProtectedViewWindowOpen event occurs when a workbook is opened in a Protected View window.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_ProtectedViewWindowOpenEventHandler ( _
Pvw As ProtectedViewWindow _
)
'Usage
Dim instance As New AppEvents_ProtectedViewWindowOpenEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_ProtectedViewWindowOpenEventHandler(
ProtectedViewWindow Pvw
)
Parameters
Pvw
Type: Microsoft.Office.Interop.Excel.ProtectedViewWindowAn object that represents the Protected View window that is opened.