XLL+ Class Library (6.3)

CXlSelectionChangeEvent Class

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

class CXlSelectionChangeEvent : public CXlEvent

Overview

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.

Requirements

Header: xlpevents.h

See Also

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