ListObject::SelectionChange Event
Occurs when the selection changes inside the ListObject control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
This event is raised when any selected range inside the ListObject changes.
This event is not raised when focus moves from inside a ListObject control to outside of the ListObject control. It is raised when focus moves from outside a ListObject control to the ListObject control.
The following code example creates a ListObject and then creates an event handler for the SelectionChange event. To test the event handler, select a cell in the ListObject and then select a different cell in the ListObject.
This version is for a document-level customization.
This version is for an application-level add-in.
Show: