回答編集履歴
1
コード追記
test
CHANGED
@@ -1 +1,27 @@
|
|
1
1
|
ループでまわしてLike演算子で判断することになります。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
```vba
|
6
|
+
|
7
|
+
Dim result As String, path As String
|
8
|
+
|
9
|
+
path = "C:\test"
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
result = Dir(path & "\" & "*")
|
14
|
+
|
15
|
+
Do Until result = ""
|
16
|
+
|
17
|
+
If Not result Like "[①②]*" Then
|
18
|
+
|
19
|
+
Debug.Print result
|
20
|
+
|
21
|
+
End If
|
22
|
+
|
23
|
+
result = Dir()
|
24
|
+
|
25
|
+
Loop
|
26
|
+
|
27
|
+
```
|