XLL+ Class Library (7.0)

CXllApp::AfterCalculateEvent

Gets a reference to the AfterCalculate event

CXlAfterCalculateEvent& AfterCalculateEvent( );

Return Value

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

Remarks

The AfterCalculate event is raised after one or more worksheets have been calculated. All registered observers receive the event via the CXlEventObserver::Update method.

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

Availability

Note that this event is only available when running under Excel 2010 (Excel 14) or above.

Registration

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 CXlAfterCalculateEventStaticObserver.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | Events