XLL+ Class Library (6.3)

CXllApp::OnWorkbookAddinInstall

Called by the framework when an addin is installed

virtual void OnWorkbookAddinInstall(
   LPDISPATCH dispWorkbook
);

Parameters

dispWorkbook

Pointer to dispatch interface of type Excel.Workbook.

Remarks

This function is called when an addin is installed.

Note that it will only be called if event-sinking is switched on (using CXllApp::SetSinkEvents()).

You can override the method in your application class to react to the event. The default method does nothing.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::OnWorkbookAddinUninstall()