setvalue() method in javascript code example Example: setValue() SpreadsheetApp.getActive().getRange("A1").setValue('abc');