NamedRange::BeforeDoubleClick Event
Occurs when a NamedRange control is double-clicked, before the default double-click action.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Double-clicking overlapping NamedRange controls raises the event on each of the controls that overlap.
The following code example creates a NamedRange and then populates all the cells with the text Delete. To test the events, right-click one of the cells to make a border appear around the range, and then double-click one of the cells to clear the range.
This version is for a document-level customization.
This version is for an application-level add-in.
Show: