XLL+ Class Library

CXlFuncs::Address

Creates a cell address as text, given specified row and column numbers

[C++]
static int Address(
   CString& straddress,
   unsigned short row_num,
   unsigned short column_num,
   short int abs_num = 1,
   bool a1 = true,
   const char* sheet_text = ""
);

Parameters

straddress

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

row_num

Row number.

column_num

Column number.

abs_num

Type of reference to return.

a1

Style of reference to return.

sheet_text

Text specifying the name of the worksheet to be used as the external reference.

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