質問編集履歴
1
ご指摘をいただき、内容を一部変更。
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,11 +52,31 @@
|
|
52
52
|
|
53
53
|
|
54
54
|
|
55
|
-
|
55
|
+
function test(){
|
56
56
|
|
57
|
-
|
57
|
+
var ss = SpreadsheetApp.getActiveSpreadsheet()
|
58
58
|
|
59
|
+
var sheet = ss.getSheetByName("資機材準備");
|
60
|
+
|
61
|
+
var cell_P6 = sheet.getRange("P6")
|
62
|
+
|
63
|
+
var val_P6 = cell_P6.getValue()
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
if(val_P6>0){
|
68
|
+
|
69
|
+
var cell_N6 = sheet.getRange("N6")
|
70
|
+
|
71
|
+
cell_N6.setValue("")
|
72
|
+
|
73
|
+
|
74
|
+
|
59
|
-
|
75
|
+
}else{
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
}
|
60
80
|
|
61
81
|
|
62
82
|
|