XLL+ Class Library (7.0)

CXlNewWorkbookEvent Class

An event which is raised when a new workbook is created.

class CXlNewWorkbookEvent : public CXlEvent

Overview

The event occurs when a new workbook is created.

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

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

Requirements

Header: xlpevents.h

See Also

CXlNewWorkbookEvent Methods | xlpevents.h | CXllApp::NewWorkbookEvent | Events | CXlWorkbookEventArgs | CXlNewWorkbookEventStaticObserver