回答編集履歴
2
こちらかがいいかも
test
CHANGED
@@ -6,6 +6,50 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
→
|
9
|
+
→正
|
10
10
|
|
11
11
|
if ws.name = "レポート" then
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```VBA
|
16
|
+
|
17
|
+
sub test()
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
dim i as doubule
|
22
|
+
|
23
|
+
dim str as string
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
For i = 1 To Worksheets.Count
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
str = Sheets(i).Name
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
if str="レポート" then
|
36
|
+
|
37
|
+
処理
|
38
|
+
|
39
|
+
else
|
40
|
+
|
41
|
+
処理
|
42
|
+
|
43
|
+
end if
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
next
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
end sub
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
```
|
1
こちらかがいいかも
test
CHANGED
@@ -6,4 +6,6 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
→
|
10
|
+
|
9
|
-
|
11
|
+
if ws.name = "レポート" then
|