Converts the specified cell range to a formula string.
var value; // Type: string
value = GC.Spread.Sheets.CalcEngine.rangeToFormula(range, baseRow, baseCol, rangeReferenceRelative, useR1C1);
function rangeToFormula(
: Range,
: number,
: number,
: GC.Spread.CalcEngine.RangeReferenceRelative,
: boolean
) : string;
Parameters
- range
- The cell range in the sheet.
- baseRow
- The base row index of the formula.
- baseCol
- The base column index of the formula.
- rangeReferenceRelative
- Whether the range reference is relative or absolute.
- useR1C1
- Whether to use the r1c1 reference style.
Return Value
The formula string that refers to the specified cell range.