XLL+ Class Library (7.0)

CXlSelectionChangeEvent Class

An event which is raised when Excel's selection in a sheet is changed.

class CXlSelectionChangeEvent : public CXlEvent


The event occurs when Excel's active cell selection is changed.

Observers can register for this event at any point in the life of the XLL. Registration can be done explicitly using Register, or automatically by creating an instance of CXlSelectionChangeEventStaticObserver.

When observers are notified, an argument of type CXlRangeEventArgs is passed.


Header: xlpevents.h

See Also

CXlSelectionChangeEvent Methods | xlpevents.h | CXllApp::SelectionChangeEvent | Events | CXlRangeEventArgs | CXlSelectionChangeEventStaticObserver