Dear ¤j¤j,
¤§«e¥Îoffice 97®É§Ú³£¨Ï¥ÎWith Application.FileSearch§äÀÉ®×
¤µ¤Ñ¥Î¤£¦Pªºofficeª©¥»¤~µo²{office§ïª©«á¤v¸g¤£¯à¦A¥Î¤F,
½Ð°Ý¦U¦ì«e¤j¤j,¥H¤Uµ{¦¡½XÀ³¸Ó«ç»òקï¤~¦n?
With Application.FileSearch
.NewSearch
.LookIn = FilePath
.Filename = ".txt"
.SearchSubFolders = False
.Execute
For i = 1 To .FoundFiles.Count
Cells(RowIdx, 1) = FileDateTime(.FoundFiles(i))
Cells(RowIdx, 1).Select
FName = .FoundFiles(i)
Cells(RowIdx, ColIdx).Select
Open FName For Input As #1
.
. |