Spread 8.0 Documentation
SSRemoveCustomFunction Function
Support Options
DLL Reference > DLL Functions > SSRemoveCustomFunction Function

Glossary Item Box

SSRemoveCustomFunction Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Removes the specified custom function.

Syntax

C

BOOL SSRemoveCustomFunction(HWND hWnd, LPCTSTR lpszFuncName);

C++

BOOL TSpread::RemoveCustomFunction(LPCTSTR lpszFuncName);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpszFuncName Name of custom function to be removed

Remarks

This function is applied to the entire workbook, including all sheets in the control.

Call the SSEnumCustomFunction function 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.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

Creating and Using Custom Functions

SSEnumCustomFunction, SSEnumCustomFunctionLen, SSGetCustomFunction functions

ActiveX Correspondence

RemoveCustomFunction method

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