sets a style for a range of cells
| rangeStr | string | a range of cells (or several ranges) to apply a style to |
| style | object | the applied style |
| page | string | optional, the name of the sheet |
// single range
spreadsheet.setRangeStyle("C4:E4", style, "Sheet1");
// multiple ranges
spreadsheet.setRangeStyle("C3:E3;C5:E5;C7:E7", style, "Sheet1");
The rangeStr parameter accepts multiple ranges with a semicolon as delimiter: "A1:C3;B4:D5".