NamedRange::Change Event

 

Occurs when something changes in the NamedRange control.

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

event DocEvents_ChangeEventHandler^ Change {
	void add(DocEvents_ChangeEventHandler^ value);
	void remove(DocEvents_ChangeEventHandler^ value);
}

This event is raised if the NamedRange control is changed by either a programmatic modification or user interaction. This event does not occur when cells in a NamedRange control change during a recalculation.

The following code example creates a NamedRange and a Change event handler. To raise the Change event, add text to one of the cells in the NamedRange and then press ENTER.

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: