XLL+ Class Library (6.3)

CXlWorkbookNewSheetEvent Class

An event which is raised when a new sheet is added to a workbook.

class CXlWorkbookNewSheetEvent : public CXlEvent

Overview

The event occurs when a new sheet is added to a workbook.

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

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

Requirements

Header: xlpevents.h

See Also

CXlWorkbookNewSheetEvent Methods | xlpevents.h | CXllApp::WorkbookNewSheetEvent | Events | CXlWorkbookNewSheetEventArgs | CXlWorkbookNewSheetEventStaticObserver