- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2016-3-13 01:49 ½s¿è
¦^´_ 1# Jason80Lo
©Î³\§A¥i¥H¸Õ¸Õ¬ÝFileSearch ª«¥ó.
(¥H¤Uµ{¦¡¬O¨Ì Excel VBA ©Òªþ½d¨Òקï)- Sub nn()
- Dim iI%
- With Application.FileSearch
- .NewSearch
- .LookIn = "D:\20160309"
- .SearchSubFolders = True
- .Filename = "·s¤å¦r¤å¥ó*.txt"
- .MatchTextExactly = True
- .FileType = msoFileTypeAllFiles
- If .Execute() > 0 Then
- MsgBox "§ä¨ì " & .FoundFiles.Count & " ÓÀÉ®×."
- For iI = 1 To .FoundFiles.Count
- MsgBox "²Ä " & iI &."ÓÀɮ׬° : " & FoundFiles(iI)
- Next iI
- Else
- MsgBox "§ä¤£¨ì¥ô¦óÀÉ®×."
- End If
- End With
- End Sub
½Æ»s¥N½X |
|