回答編集履歴
2
n計算・条件式の追加
test
CHANGED
@@ -34,7 +34,11 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
-
If n <=
|
37
|
+
If n <= 0 Then
|
38
|
+
|
39
|
+
Exit Sub
|
40
|
+
|
41
|
+
ElseIf n <= 8 Then
|
38
42
|
|
39
43
|
c = (n - 1) \ 2 + 1 '/でないことに注意
|
40
44
|
|
@@ -45,6 +49,10 @@
|
|
45
49
|
ElseIf n = 10 Then
|
46
50
|
|
47
51
|
c = 4
|
52
|
+
|
53
|
+
Else
|
54
|
+
|
55
|
+
Exit Sub
|
48
56
|
|
49
57
|
End If
|
50
58
|
|
1
nの計算式を追加
test
CHANGED
@@ -30,9 +30,9 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
|
33
|
+
n = WorksheetFunction.CountIf(Range("A8:A17"), "<>")
|
34
34
|
|
35
|
-
|
35
|
+
|
36
36
|
|
37
37
|
If n <= 8 Then
|
38
38
|
|