XLL+ Class Library (6.3)

CXllApp::OnXllOpen

Called by the framework when Excel opens the XLL

virtual void OnXllOpen( );

Remarks

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 precede any use of your add-in functions, so long as the initialization cannot fail.

The default implementation of this function does nothing.

NoteNote:

This method is deprecated. Use OnXllOpenEx instead.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::OnXllOpenEx() | CXllApp::OnXllClose()