title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Worksheet.BeforeDoubleClick event (Excel) |
vbaxl10.chm502074 |
|
|
36e23bc8-0b49-2e22-bfb0-cfff24a82fda |
05/30/2019 |
medium |
Occurs when a worksheet is double-clicked, before the default double-click action.
expression.BeforeDoubleClick (Target , Cancel)
expression A variable that represents a Worksheet object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Target | Required | Range | The cell nearest to the mouse pointer when the double-click occurs. |
Cancel | Required | 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. |
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.
[!includeSupport and feedback]