TXlsFile.IsDefinedFunction Method
Returns true if the Custom formula function has been added to the FlexCel recalculating engine. Note that internal functions are not returned by this method, but user defined functions pre-defined in FlexCel will be.
Syntax
Unit: FlexCel.XlsAdapter
function TXlsFile.IsDefinedFunction(const functionName: string; out location: TUserDefinedFunctionLocation): Boolean; overload; override;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | functionName | string | Name of the function. Case insensitive. |
out | location | TUserDefinedFunctionLocation | Returns if the function is defined as an internal or external function. |
Returns
True if the name has been added, false if not.