XLL+ Class Library (6.3)

CXlFuncs::Indirect

Returns a reference indicated by a text value

static int Indirect(
   CXlOper& xloRef,
   LPCTSTR ref_text,
   bool a1 = true
);

Parameters

xloRef

A reference to a CXlOper that will contain the requested data if the macro succeeds.

ref_text

A string reference to a cell.

a1

Style of reference in ref_text.

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

CXlFuncs Class | CXlFuncs Methods