- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# child
¥u¤ñ¹ï¨ì¤j¼g .FoundFiles(i) Like "*\[A-Z][A-Z]*.jpg"
¥u¤ñ¹ï¨ì¤p¼g .FoundFiles(i) Like "*\[a-z][a-z]*.jpg"
¤ñ¹ï¤j¤p¼g .FoundFiles(i) Like "*\[A-z][A-z]*.jpg"- Sub Ex()
- Dim i As Integer, ii As Integer
- With Application.FileSearch
- .NewSearch '«·s³]©w©Ò¦³·j´M·Ç«h¬°¨ä¹w³]³]©w¡C
- .LookIn = "D:\" '¨îq·j´M¥Ø¿ý
- .Filename = "*.jpg , *.gif" '·j´Mªº°ÆÀɦW
- .SearchSubFolders = False '¤£©¹¤U·j´M¤l¥Ø¿ý ¤Ï¤§¬° True
- .Execute '¶}©l·j´M«ü©wªºÀÉ®×
- If .FoundFiles.Count > 0 Then
- ii = 1
- For i = 1 To .FoundFiles.Count
- If .FoundFiles(i) Like "*\[A-Z][A-Z]*.jpg" Then
- Cells(ii, "A") = .FoundFiles(i)
- ii = ii + 1
- End If
- Next
- End If
- End With
- End Sub
½Æ»s¥N½X |
|