XLL+ Class Library

COper::FromError

Assigns an error value and data type to the OPER

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

Parameters

wError

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

Remarks

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

Requirements

Header: xllplus.h

See Also

COper Class | COper Methods