XLL+ Class Library (6.3)

CXlWorkbookOpenEventStaticObserver Class

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

class CXlWorkbookOpenEventStaticObserver : 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 XlWorkbookOpen event, after the book has been opened, the object's Update method will be called.

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

Requirements

Header: xlpevents.h

See Also

CXlWorkbookOpenEventStaticObserver Methods | xlpevents.h | CXlWorkbookOpenEvent | Events