Called by the framework when Excel opens the XLL, after all other processing is complete.
virtual void AfterXllOpen( ); |
This function is called whenever a user loads the add-in, whether using the Excel Tools - Add-ins dialog or directly, using the File - Open menu option.
This is a good time to do any initialization that needs to follow all other initialization steps, in particular if you need to override normal behavior set up during the OnXllOpenEx() event, or any CXllOpenEvent handlers.
The default implementation of this function does nothing.
Header: xllplus.h
CXllApp Class | CXllApp Methods | CXllApp::OnXllOpen() | CXllApp::OnXllClose()