回答編集履歴
3
修正テスト
test
CHANGED
File without changes
|
2
更新
test
CHANGED
@@ -16,8 +16,36 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
GoogleSpredSheetなら
|
19
|
+
GoogleSpredSheetならこれ
|
20
20
|
|
21
21
|
|
22
22
|
|
23
23
|
[ScriptApp](https://developers.google.com/apps-script/reference/script/script-app)
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
まず任意の関数のTriggerBuilderオブジェクトを作って
|
28
|
+
|
29
|
+
そいつからSpreadsheetTriggerBuilderオブジェクトを作って
|
30
|
+
|
31
|
+
そっからさらにonEditのSpreadsheetTriggerBuilderオブジェクトを作って
|
32
|
+
|
33
|
+
そいつからTriggerオブジェクトを作ることでイベントリスナー追加完了
|
34
|
+
|
35
|
+
という流れらしいです
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
SpreadsheetTriggerBuilderのとこは
|
40
|
+
|
41
|
+
onEditのSpreadsheetTriggerBuilderにする
|
42
|
+
|
43
|
+
という処理なのかな?
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
新しいインスタンスが作られてるのか
|
48
|
+
|
49
|
+
自身を変更して返してるのかどっちか不明…
|
50
|
+
|
51
|
+
要確認
|
1
追記
test
CHANGED
@@ -7,3 +7,17 @@
|
|
7
7
|
|
8
8
|
|
9
9
|
[イベントプロシージャ](https://dev.classmethod.jp/clerical/excelvba-event/)
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
---
|
14
|
+
|
15
|
+
追記
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
GoogleSpredSheetなら多分これ
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
[ScriptApp](https://developers.google.com/apps-script/reference/script/script-app)
|