.Cells(i, 11).Select
ActiveSheet.Hyperlinks.add anchor:=Selection, Address:=spath & sFileName, _
TextToDisplay:=sFileName
.Cells(i, 12) = Int(FileLen(spath & sFileName) / 1024) & " kb"
.Cells(i, 13) = VBA.Right(Cells(i, 11), 3)
Set f = fs.GetFile(spath & sFileName) '返回指定路徑文件所對應的 File 對象
.Cells(i, 14) = f.DateCreated
.Cells(i, 15) = f.DateLastModified
歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/) |