- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-10-30
|
¦^´_ 1# rouber590324
½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub ¦C¥X¸ê®Æ§¨ÀɮצWºÙ()
Dim fs, f, fc, f1
Set fs = CreateObject("Scripting.FileSystemObject")
a = Application.InputBox("½Ð¿é¤J¦s©ñ¸ô®|:")
Range("a1").Select
Set f = fs.GetFolder(a)
Set fc = f.Files
[A1:B1000] = ""
For Each f1 In fc
With ActiveCell
.Value = Split(f1.Name, ".")(0)
.Offset(0, 1).Value = f1.DateLastModified
.Offset(1, 0).Select
End With
Next f1
Set fs = Nothing: Set f = Nothing: Set fc = Nothing
End Sub |
|