An event observer for XlCalculate, which is automatically registered and unregistered.
class CXlCalculateEventStaticObserver : public CXlStaticEventObserver |
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 XlCalculate event, after the completion of the calculation of a sheet, the object's Update method will be called.
See the Update method for an example of this class in use.
Header: xlpevents.h
CXlCalculateEventStaticObserver Methods | xlpevents.h | CXlCalculateEvent | Events