XLL+ Class Library (6.3)

CXlOper::ChangeType

Convert a CXlOper from one data type to another

int ChangeType(
   WORD xltype,
   const CXlOper* lpxlopSource = 0
);

Parameters

xltype

The type desired. This should be one of the xltype values listed in CXlOper data types.

lpxlopSource

The source of the conversion. If lpxlopSource is 0, then the destination CXlOper (*this) will be converted in place.

Return Value

The result of the SDK call-back. xlretSuccess (0) indicates success. Other values indicate failure. A full list of return values can be found in Error Codes.

Remarks

This function converts a CXlOper from its current data type to another.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::Coerce()