XLL+ Class Library (6.3)

CXlFuncs::Address

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

static int Address(
   CString& straddress,
   unsigned long row_num,
   unsigned long column_num,
   short int abs_num = 1,
   bool a1 = true,
   LPCTSTR 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