XLL+ Class Library (7.0)

CXlFuncs::CellCol

Returns column number of a referenced cell

static int CellCol(
   long& lcol,
   const CXlOper& reference
);
static int CellCol(
   unsigned short& uscol,
   const CXlOper& reference
);
static int CellCol(
   BYTE& bytecol,
   const CXlOper& reference
);

Parameters

lcol

A reference to an integer that will contain the requested data if the macro succeeds.

reference

Reference to the cell that you want information about.

uscol

A reference to an integer that will contain the requested data if the macro succeeds.

bytecol

A reference to an integer that will contain the requested data if the macro succeeds.

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