This documentation is archived and is not being maintained.

DocEvents_Event.BeforeDoubleClick Event 

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

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

WithEvents docEvents_Event1 As DocEvents_Event
Function docEvents_Event1_BeforeDoubleClick(Target As Range, _
	Cancel As Boolean) As Void
	Handles docEvents_Event1.BeforeDoubleClick
End Function

Event BeforeDoubleClick As DocEvents_BeforeDoubleClickEventHandler
 void add_BeforeDoubleClick(DocEvents_BeforeDoubleClickEventHandler handler);
 void remove_BeforeDoubleClick(DocEvents_BeforeDoubleClickEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms