Gets a reference to the SheetChange event
CXlSheetChangeEvent& SheetChangeEvent( ); |
The function returns a reference to the application's SheetChange event, which is of type CXlSheetChangeEvent.
The SheetChange event is raised when a cell is changed in a worksheet. All registered observers receive the event via the CXlEventObserver::Update method.
When observers are notified, an argument of type CXlRangeEventArgs is passed.
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 CXlSheetChangeEventStaticObserver.
Header: xllplus.h