Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lwc:programming:googlescripts [2021/02/01 14:40] – created John Harrison | lwc:programming:googlescripts [2021/02/01 15:10] (current) – John Harrison | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== get sheet by GID ===== | ===== get sheet by GID ===== | ||
| <code javascript> | <code javascript> | ||
| - | functon | + | function |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | var ss = SpreadsheetApp.getActiveSpreadsheet(); | ||
| - | var sourceSheet = getSheetByGid(ss, | + | var sourceSheet = getSheetByGid(ss, |
| } | } | ||
| - | functon | + | |
| + | function | ||
| gid = +gid || 0; | gid = +gid || 0; | ||
| var res_ = undefined; | var res_ = undefined; | ||