ListObject::Selected Event

 

Occurs when the ListObject control is selected.

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

event DocEvents_SelectionChangeEventHandler^ Selected {
	void add(DocEvents_SelectionChangeEventHandler^ value);
	void remove(DocEvents_SelectionChangeEventHandler^ value);
}

This event is raised when the selection changes to the ListObject control.

The following code example creates a ListObject and then creates an event handler for the Selected event. To test the event handler, ensure that the ListObject is not selected, and then select it.

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.

No code example is currently available or this language may not be supported.
Return to top
Show: