XLL+ Class Library (6.3)

CXllCom::OleGetRangeAddress

Get the value of Range.Address

static HRESULT OleGetRangeAddress(
   LPDISPATCH dispRange,
   CString& strAddress,
   BOOL bExternal = FALSE
);

Parameters

dispRange

The range to be recalculated.

strAddress

If the function is successful, the value of Range.Address will be copied here.

bExternal

TRUE if the address is to be complete, FALSE if the address is local (ie. it excludes workbook and sheet).

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods | CXllCom::OleGetRangeFormula() | CXllCom::OleGetRangeValue()