質問編集履歴
9
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
- 転記先スプレッドシート(SampleB,SampleCも同じレイアウト)
|
3
|
-

|
4
4
|
|
5
5
|
|
6
6
|

|
8
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
|
2
|
+
- 転記先スプレッドシート(SampleB,SampleCも同じレイアウト)
|
3
|
+

|
4
|
+
|
5
|
+
|
1
6
|

|
2
7
|
|
3
8
|
- 転記元スプレッドシート↓
|
7
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,11 +1,4 @@
|
|
1
|
-

|
2
|
-

|
3
|
-

|
4
|
-

|
5
|
-

|
6
|
-

|
7
|
-

|
8
|
-

|
9
2
|
|
10
3
|
- 転記元スプレッドシート↓
|
11
4
|
- 
|
6
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
|
1
|
+

|
2
|
+

|
3
|
+

|
4
|
+

|
5
|
+

|
6
|
+

|
7
|
+

|
8
|
+

|
2
9
|
|
3
10
|
- 転記元スプレッドシート↓
|
4
11
|
- 
|
5
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -93,6 +93,7 @@
|
|
93
93
|
}
|
94
94
|
}
|
95
95
|
|
96
|
+
//実装がうまくいかないところ↓
|
96
97
|
function processTransfer(targetSpreadsheets, staffName, ssidName, relatedGrams) {
|
97
98
|
for (const spreadsheetId of targetSpreadsheets) {
|
98
99
|
try {
|
@@ -169,6 +170,7 @@
|
|
169
170
|
}
|
170
171
|
}
|
171
172
|
|
173
|
+
//今は無視してください
|
172
174
|
function handleRecordOperation(targetSpreadsheets, staffName, ssidName) {
|
173
175
|
for (const spreadsheetId of targetSpreadsheets) {
|
174
176
|
try {
|
@@ -191,10 +193,12 @@
|
|
191
193
|
}
|
192
194
|
}
|
193
195
|
|
196
|
+
//今は無視してください
|
194
197
|
function processOption3() {
|
195
198
|
SpreadsheetApp.getUi().alert("担当者ステータスが更新されました。");
|
196
199
|
}
|
197
200
|
|
201
|
+
//今は無視してください
|
198
202
|
function getTargetSheet(spreadsheetId, sheetName) {
|
199
203
|
const ss = SpreadsheetApp.openById(spreadsheetId);
|
200
204
|
const sheets = ss.getSheets();
|
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|

|
15
15
|
|
16
16
|
-デバック結果
|
17
|
+

|
17
18
|
|
18
19
|
### 実現したいこと
|
19
20
|
|
3
あ
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,9 +14,7 @@
|
|
14
14
|

|
15
15
|
|
16
16
|
-デバック結果
|
17
|
-
|
17
|
+
|
18
|
-
|
19
|
-

|
20
18
|
### 実現したいこと
|
21
19
|
|
22
20
|
ここに実現したいことを箇条書きで書いてください。
|
2
補足の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,6 +12,11 @@
|
|
12
12
|
|
13
13
|
- エディタでの実行結果↓
|
14
14
|

|
15
|
+
|
16
|
+
-デバック結果
|
17
|
+

|
18
|
+
|
19
|
+

|
15
20
|
### 実現したいこと
|
16
21
|
|
17
22
|
ここに実現したいことを箇条書きで書いてください。
|
1
補足情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
- 転記元スプレッドシート↓
|
4
|
+
- 
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
- 転記先スプレッドシート↓
|
9
|
+

|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
- エディタでの実行結果↓
|
14
|
+

|
1
15
|
### 実現したいこと
|
2
16
|
|
3
17
|
ここに実現したいことを箇条書きで書いてください。
|
@@ -6,6 +20,7 @@
|
|
6
20
|
|
7
21
|
### 前提
|
8
22
|
|
23
|
+
- 転記元のスプレッドシート画像の右上にプルダウンと送信ボタンがあると思いますが、プルダウンで実行したい関数を選び送信ボタンで実行する感じです。
|
9
24
|
- 転記元スプレッドシートから特定の値を取得して、指定した転記先のスプレッドシート内の決められた値に転記したいです。
|
10
25
|
- 転記できるスプレッドシートとできないスプレッドシートがありました。転記できるスプレッドシートを複製して試したがダメでした。
|
11
26
|
|