XLL+ Class Library (7.0)

CXlAfterCalculateEventStaticObserver Class

An event observer for XlAfterCalculate, which is automatically registered and unregistered.

class CXlAfterCalculateEventStaticObserver : public CXlStaticEventObserver

Overview

It is sometimes inconvenient to register an event observer at the appropriate time. This class can be used to safely automatically register and unregister itself.

During the XlAfterCalculate event, after the completion of the calculation of one or more sheets, the object's Update method will be called.

See the Update method for an example of this class in use.

Availability

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

Requirements

Header: xlpevents.h

See Also

CXlAfterCalculateEventStaticObserver Methods | xlpevents.h | CXlAfterCalculateEvent | Events