XLL+ Class Library (7.0)

CXlMacros::RefText

Converts a reference to an absolute reference in the form of text

static int RefText(
   CString& strreftext,
   const CXlOper& reference,
   bool a1 = false
);

Parameters

strreftext

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

reference

Reference is the reference you want to convert.

a1

A1 is a logical value specifying A1-style or R1C1-style references.

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