google script range get cell values code example
Example 1: set cell value google script
function doTest() {
SpreadsheetApp.getActiveSheet().getRange('F2').setValue('Hello');
}
Example 2: set cell value google script
var values = [
["2.000", "1,000,000", "$2.99"]
];
var range = sheet.getRange("B2:D2");
range.setValues(values);
Example 3: google script range get cell values
var myCell = myRange.getCell(row, column) //Returns a given cell within a range.