lwc:programming:googlescripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lwc:programming:googlescripts [2021/02/01 15:09] John Harrisonlwc:programming:googlescripts [2021/02/01 15:10] (current) John Harrison
Line 5: Line 5:
 function mainDeal() { function mainDeal() {
   var ss = SpreadsheetApp.getActiveSpreadsheet();   var ss = SpreadsheetApp.getActiveSpreadsheet();
-  var sourceSheet = getSheetByGid(ss, 1330911434);+  var sourceSheet = getSheetByGid(ss, <PUT GID HERE>);
 } }
 +
 function getSheetByGid(spreadsheet, gid){ function getSheetByGid(spreadsheet, gid){
     gid = +gid || 0;     gid = +gid || 0;
  • lwc/programming/googlescripts.1612213784.txt.gz
  • Last modified: 2021/02/01 15:09
  • by John Harrison