Spread 8.0 Documentation
RemoveCustomFunction Method
Support Options
ActiveX Reference > ActiveX Methods > RemoveCustomFunction Method

Glossary Item Box

RemoveCustomFunction Method


See Also    DLL

Applies To

fpSpread control

Description

Removes the specified custom function.

Syntax

C++

BOOL CSpreadSheet::RemoveCustomFunction(LPCTSTR FuncName);

Visual Basic

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.