AppEvents_ProtectedViewWindowBeforeEditEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public delegate void AppEvents_ProtectedViewWindowBeforeEditEventHandler(ProtectedViewWindow ^ Pvw, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void AppEvents_ProtectedViewWindowBeforeEditEventHandler(ProtectedViewWindow Pvw, out bool Cancel);
Public Delegate Sub AppEvents_ProtectedViewWindowBeforeEditEventHandler(Pvw As ProtectedViewWindow, ByRef Cancel As Boolean)
Parameters
The Protected View window that contains the workbook that is enabled for editing.
- Cancel
- Boolean
false when the event occurs. If the event procedure sets this argument to true, editing is not enabled on the workbook.
- Attributes