NamedRange::BeforeDoubleClick Event

 

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

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

event DocEvents_BeforeDoubleClickEventHandler^ BeforeDoubleClick {
	void add(DocEvents_BeforeDoubleClickEventHandler^ value);
	void remove(DocEvents_BeforeDoubleClickEventHandler^ value);
}

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.

No code example is currently available or this language may not be supported.

This version is for an application-level add-in.

Return to top
Show: