TUserDefinedFunction.GetSingleParameter Method
Returns a single value from a parameter. If the parameter is a cell range and the cell range has only one cell, this method will return the value of the cell, else it will return an error.
Syntax
Unit: FlexCel.Core
class function TUserDefinedFunction.GetSingleParameter(const xls: TExcelFile; const param: TFormulaValue): TFormulaValue; static;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | xls | TExcelFile | ExcelFile that will be used to read the value if param is a cell reference. |
const | param | TFormulaValue | One of the parameters passed to Evaluate |