Encapsulates an addin's interaction with Excel's COM interface.
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.
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.