Converts the specified cell range to a formula string.
var value; // Type: string
value = GcSpread.Sheets.Calc.rangesToFormula(ranges, baseRow, baseCol, rangeReferenceRelative, useR1C1);
function rangesToFormula(
: Range,
: number,
: number,
: RangeReferenceRelative,
: boolean
) : string;
Parameters
- ranges
- 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.