The type of value returned to Excel.
The value will always be CXlOper for functions that return a variable type, or that return arrays, or that may fail.
The default value for ReturnType is CXlOper.
ReturnType may have any of the values below:
| Type | Description |
|---|---|
| Boolean | Boolean value (true or false) |
| Double | Double-precision floating-point number |
| Short | Short (16-bit) signed integer |
| UShort | Short (16-bit) unsigned integer |
| Int | Long (32-bit) signed integer |
| CXlOper | Any value type, including arrays |