XLL+ Class Library

CXlMacros::AbsRef

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

[C++]
static int AbsRef(
   CXlOper& xloRef,
   const char* 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