AppEvents_ProtectedViewWindowBeforeEditEventHandler AppEvents_ProtectedViewWindowBeforeEditEventHandler AppEvents_ProtectedViewWindowBeforeEditEventHandler Delegate

Definition

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
Pvw

The Protected View window that contains the workbook that is enabled for editing.

Cancel

false when the event occurs. If the event procedure sets this argument to true, editing is not enabled on the workbook.

Inheritance
AppEvents_ProtectedViewWindowBeforeEditEventHandlerAppEvents_ProtectedViewWindowBeforeEditEventHandlerAppEvents_ProtectedViewWindowBeforeEditEventHandler
Attributes

Applies to