XLL+ Class Library (6.3)

CXllApp::GetApplicationDispatch

Returns a dispatch pointer to the Excel Application object

LPDISPATCH GetApplicationDispatch( );

Return Value

Returns an IDispatch interface pointer to the Excel Application object. If the COM interface cannot be initialized, then an exception of type CXlComException will be thrown.

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::GetCom() | CXllApp::SetUseAutomation()