读取文件对象
摘要:
With Application.FileSearch .searchSubFolders = false .Filename = "*.txt" .lookIn = strFolder if .Excute() > 0 then for i = 1 to .FoundFiles.count .FoundFiles(i) ' 取得文件对象 next i end ifend With searchSubFolders False : 子文件夹文件不取得 True : 子文件夹一起取得 阅读全文
posted @ 2013-12-31 10:56 liangx85 阅读(167) 评论(0) 推荐(0) 编辑