Here is some code...
这是一些代码......
function BUTTON1()
{
// Point this at the spreadsheet we are using
var sheet = SpreadsheetApp.getActiveSheet();
// Pull some data from the spredsheet
var value1 = sheet.getRange('Value_1');
var value2 = sheet.getRange('Value_2');
// Do some basic calculations...
var result2 = value1 + value2;
// --------------------------------------------------------------------
// So how do I put the value 'result2' into the spreadsheet named cell
// called 'Result_2' ???
// --------------------------------------------------------------------
}
function