Worksheet BeforeDoubleClick Event


Syntax
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Enter Code
End Sub

This event occurs when a worksheet is double-clicked, before the default double-click action.

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

Cancel
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.