XLL+ Class Library

CXlOper::FromError

Assigns an error value and data type to the CXlOper

[C++]
const CXlOper& FromError(
   WORD wError
);

Parameters

wError

Value to be applied to the CXlOper. See Error Values for a list of legal error values.

Remarks

This function assigns the value of wError to the CXlOper, and sets the type of the CXlOper to be xltypeErr.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods