WorkbookEvents_SheetBeforeDoubleClickEventHandler Delegate

Definition

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

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

Parameters

Sh
Object

A Worksheet object that represents the sheet.

Target
Range

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

Cancel
Boolean

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