AppEvents_ProtectedViewWindowBeforeEditEventHandler delegate
Office 2013 and later
A Delegate type used to add an event handler for the ProtectedViewWindowBeforeEdit event. The ProtectedViewWindowBeforeEdit event occurs immediately before editing is enabled on the workbook in the specified Protected View window.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Parameters
- Pvw
- Type: Microsoft.Office.Interop.Excel.ProtectedViewWindow
The Protected View window that contains the workbook that is enabled for editing.
- Cancel
- Type: System.Boolean
false when the event occurs. If the event procedure sets this argument to true, editing is not enabled on the workbook.
Show: