Boa noite!!
Tente..
Sub AleVBA_14695()
Dim oFS As Object
Set oFS = CreateObject("Scripting.FileSystemObject")
Dim aFile, cPath, L
cPath = Range("C3")
cPath = "C:UsersaleVBA"
aFile = Dir(cPath & "*.txt")
L = 6
Do While aFile <> ""
Cells(L, 3) = aFile
Cells(L, 4) = oFS.GetFile(cPath & aFile).Datelastmodified
aFile = Dir
L = L + 1
Loop
End Sub
Att
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 20/02/2015 7:27 pm