回答編集履歴
1
追記
test
CHANGED
@@ -1 +1,35 @@
|
|
1
1
|
シートの方にもNamesがいます。そっちかもしれません。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
```VBA
|
8
|
+
|
9
|
+
Dim nm As Name, ws As Worksheet
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
For Each nm In ActiveWorkbook.Names
|
14
|
+
|
15
|
+
Debug.Print nm.Name
|
16
|
+
|
17
|
+
nm.Delete
|
18
|
+
|
19
|
+
Next
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
For Each ws In ActiveWorkbook.Worksheets
|
24
|
+
|
25
|
+
For Each nm In ws.Names
|
26
|
+
|
27
|
+
Debug.Print nm.Name
|
28
|
+
|
29
|
+
nm.Delete
|
30
|
+
|
31
|
+
Next
|
32
|
+
|
33
|
+
Next
|
34
|
+
|
35
|
+
```
|