在Google脚本中使用数据验证获取信息并放置另一页

时间:2015-11-04 22:02:17

标签: javascript

我一直在尝试使用数据验证范围的Google Apps脚本提交按钮,但我一直在努力。

function submit2() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var IBR = ss.getSheetByName('IBR');
  var lastColumn = IBR.getLastColumn()+1;
  var cell = IBR.getRange(7,5,7);
  var total = ss.getSheetByName('MS').getRange('G2:G13').getValue();
  cell.setValue(total);
}

这里有数据图片,在验证之下,提交图片一次点击就应该反映该日期,并将数字放在第二页上

Here's the first page

第二页将收到信息

And there's where second page would receive the information

0 个答案:

没有答案