回答編集履歴
1
リファレンスのURLを追記
answer
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
スプレッドシートの中のどのシートのことなのかを指定する必要があります。
|
2
2
|
```
|
3
3
|
var sheet = SpreadsheetApp.openByUrl("https:・・・・・・").getSheetByName("sheet_name");
|
4
|
-
```
|
4
|
+
```
|
5
|
+
|
6
|
+
公式のリファレンスがわかりやすくまとまっているので、熟読をお勧めします。
|
7
|
+
[Class SpreadsheetApp | Apps Script
|
8
|
+
| Google Developers](https://developers.google.com/apps-script/reference/spreadsheet/spreadsheet-app#openbyurlurl)
|