RemoveCustomFunction Method
Applies To
fpSpread control
Description
Removes the specified custom function.
Syntax
BOOL CSpreadSheet::RemoveCustomFunction(LPCTSTR FuncName);
fpSpread.RemoveCustomFunction(ByVal FuncName As String) As Boolean
Parameters
The following parameter is available:
Parameter | Description |
---|---|
FuncName | Name of custom function to be removed |
Remarks
Call the EnumCustomFunction method to return the names of the custom functions in the control.
You cannot remove a custom function while it is being used in an expression, such as a formula or custom name.
This method is applied to the entire workbook, including all sheets in the control.
Return Type
True if the method is removed successfully; otherwise, False.
See Also
Creating and Using Custom Functions
CustomFunction event
AddCustomFunction, AddCustomFunctionExt, CFGetCellParam, CFGetDoubleParam, CFGetDoubleParamExt, CFGetLongParam, CFGetParamInfo, CFGetRangeParam, CFGetStringParam, EnumCustomFunction, GetCustomFunction methods
DLL Correspondence
SSRemoveCustomFunction function