XLL+ Class Library (6.3)

CXlMacros::AbsRef

Returns the absolute reference of the cells that are offset from a reference by a specified amount

static int AbsRef(
   CXlOper& xloRef,
   LPCTSTR ref_text,
   const CXlOper& reference = CXlOper::MissingArg()
);

Parameters

xloRef

A reference to a CXlOper that will contain the desired data if the function succeeds.

ref_text

Ref_text specifies a position relative to reference.

reference

Reference is a cell or range of cells specifying a starting point that ref_text uses to locate another range of cells.

Return Value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods