XLL+ Class Library (7.0)

CXlFuncs::Type

Returns the type of value

static int Type(
   long& ltype,
   const CXlOper& xloCell
);
static int Type(
   short int& ltype,
   const CXlOper& xloCell
);

Parameters

ltype

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

xloCell

Value or reference to a value.

ltype

A reference to a value 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