Gets a reference to the AfterCalculate event
CXlAfterCalculateEvent& AfterCalculateEvent( );
The function returns a reference to the application's AfterCalculate event, which is of type CXlAfterCalculateEvent.
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.
Note that this event is only available when running under Excel 2010 (Excel 14) or above.
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.