XLL+ Class Library (7.0)


Gets a reference to the Calculate event

CXlCalculateEvent& CalculateEvent( );

Return Value

The function returns a reference to the application's Calculate event, which is of type CXlCalculateEvent.


The Calculate event is raised after a worksheet is calculated. All registered observers receive the event via the CXlEventObserver::Update method.

When observers are notified, an argument of type CXlWorksheetEventArgs 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 CXlCalculateEventStaticObserver.


Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | Events