CFSetResult Method
Applies To
fpSpread control
Description
Sets the return value of a custom function.
Syntax
C++
void CSpreadSheet::CFSetResult(const VARIANT& Var);
Visual Basic
fpSpread.CFSetResult(Var As Variant)
Parameters
The following parameter is available:
Parameter | Description |
---|---|
Var | Result returned |
Remarks
The application uses this method to return the result of the custom function.
This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.
Return Type
None
See Also
Creating and Using Custom Functions
Sheet property
CustomFunction event
AddCustomFunction, AddCustomFunctionExt, CFGetCellParam, CFGetDoubleParam, CFGetDoubleParamExt, CFGetLongParam, CFGetParamInfo, CFGetRangeParam, CFGetStringParam, EnumCustomFunction, GetCustomFunction, RemoveCustomFunction methods