- ©«¤l
- 38
- ¥DÃD
- 20
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIWAN
- µù¥U®É¶¡
- 2010-5-10
- ³Ì«áµn¿ý
- 2019-2-15
|
¥»©«³Ì«á¥Ñ child ©ó 2011-9-28 14:35 ½s¿è
Y·Q¦C¥XD:\TESTùتº©Ò¦³¸ê®Æ§¨¥]§t¤l¸ê®Æ§¨ªº¦WºÙ©Mקï®É¶¡¡A¥Ø«e´ú¸Õªºµ{¦¡¥u¯à¦C¥XD:\TESTùتº¸ê®Æ§¨¡A¦ýµLªk¦C¥X¤l¸ê®Æ§¨¡C
Ex:
D:\TEST¦³AA©MAB........µ¥¸ê®Æ§¨¡A¦ýAA©MAB¸ê®Æ§¨ùؤS¦³01¡B02........µ¥¸ê®Æ§¨¡A·Q±N¸ê®Æ§e²{¦p¤U:
¥D¸ê®Æ§¨ ¤l¸ê®Æ§¨ ³Ì²×קï®É¶¡
AA 01 2011/9/24 02:23:32
AA 02 2011/9/24 01:33:32
AA 03 2011/9/25 08:33:32
AB 01 2011/9/23 03:33:01
AB 02 2011/9/25 01:34:30
³Ì²×קï®É¶¡¬°¤l¸ê®Æ§¨ªº®É¶¡¡A½Ð¯q¦p¦óקïµ{¦¡½X?
Sub TEST()
Dim fs, f
Dim i As Integer
Sheets("TEST").Activate
Range("A1:C65536").ClearContents
Set fs = CreateObject("Scripting.FileSystemObject").GetFolder("D:\TEST")
For Each f In fs.SubFolders
i = i + 1
Cells(i, 1).Resize(1, 2) = Array(f.Name, f.DateLastModified)
Next
End Sub
«ÜÁÂÁ¤j®aªºÀ°¦£^__^ |
|