Answers for "app script google sheets edit cell value"

Go
1

set cell value google script

function doTest() {
  SpreadsheetApp.getActiveSheet().getRange('F2').setValue('Hello');
}
Posted by: Guest on October-21-2020
0

set cell value google script

function storeValue() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  // ss is now the spreadsheet the script is associated with
  var sheet = ss.getSheets()[0]; // sheets are counted starting from 0
  // sheet is the first worksheet in the spreadsheet
  var cell = sheet.getRange("B2"); 
  cell.setValue(100);
}
Posted by: Guest on October-21-2020

Code answers related to "app script google sheets edit cell value"

Browse Popular Code Answers by Language