DocEvents_BeforeDoubleClickEventHandler Delegate

Definition

A Delegate type used to add an event handler for the BeforeDoubleClick event. The BeforeDoubleClick event occurs when a worksheet is double-clicked, before the default double-click action.

public delegate void DocEvents_BeforeDoubleClickEventHandler(Range ^ Target, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void DocEvents_BeforeDoubleClickEventHandler(Range Target, out bool Cancel);
Public Delegate Sub DocEvents_BeforeDoubleClickEventHandler(Target As Range, ByRef Cancel As Boolean)

Parameters

Target
Range

Required. The cell nearest to the mouse pointer when the double-click occurs.

Cancel
Boolean

Optional. False when the event occurs. If the event procedure sets this argument to True, the default double-click action isn't performed when the procedure is finished.

Attributes

Applies to