XLL+ Class Library (7.0)

CXlWorkbookActivateEvent Class

An event which is raised when a workbook is activated.

class CXlWorkbookActivateEvent : public CXlEvent


The event occurs when a workbook is activated.

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

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


Header: xlpevents.h

See Also

CXlWorkbookActivateEvent Methods | xlpevents.h | CXllApp::WorkbookActivateEvent | Events | CXlWorkbookEventArgs | CXlWorkbookActivateEventStaticObserver