Is it possible to do ImportRange in Google Apps Script?

前端 未结 3 1155
醉梦人生
醉梦人生 2020-12-05 21:16

I have been playing around with Google Apps Script today and I am trying to code some custom spreadsheet functions. I have done some searching but cannot find an answer to

3条回答
  •  遥遥无期
    2020-12-05 22:17

    Yes, this is perfectly possible. You just need to call SpreadsheetApp.openById and then get the desired sheet and ranges normally.

    Please take a look at the documentation : range.getValues() and range.setValues() are very basic GAS methods and are pretty well described.

    Read the tutorial as well.

提交回复
热议问题