This documentation is archived and is not being maintained.

Worksheet.BeforeDoubleClick Event

Office 2007
Occurs when a worksheet is double-clicked, before the default double-click action.

Syntax

expression.BeforeDoubleClick(Target, Cancel)

expression   A variable that represents a Worksheet object.

Parameters

NameRequired/OptionalData TypeDescription
TargetRequiredRangeThe cell nearest to the mouse pointer when the double-click occurs.
CancelRequiredBooleanFalse 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.

Remarks

The DoubleClick method doesn't cause this event to occur.

This event doesn't occur when the user double-clicks the border of a cell.




Show: