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
.
.作者: wqfzqgk 時間: 2010-6-26 16:05
Sub 文件()
Set file = CreateObject("scripting.filesystemobject")
For Each fils In file.getfolder("c:\").Files
Filename = Filename & fils.Name & Chr(13)
Next
MsgBox Filename
End Sub
看看这个作者: GBKEE 時間: 2010-6-26 19:32