XLL+ Class Library (6.3)

CXllCom Class

Encapsulates an addin's interaction with Excel's COM interface.

class CXllCom

Overview

The CXllCom class encapsulates an addin's interaction with Excel's COM interface. Different versions of Excel have noticeably different object models; by using the CXllCom class, you are immunised from these differences.

Usage

CXllCom methods cannot be used during addin worksheet functions. Any attempt to use them will fail and may have unexpected side-effects. CXllCom methods should only be used during macro functions and as a result of processing window messages in the foreground thread.

Requirements

Header: xlpcom.h

See Also

CXllCom Methods | xlpcom.h | CXllApp::SetSinkEvents()