PICTURES..

  • Thread starter Thread starter Milon
  • Start date Start date
I'm assuming you wish to extract the filename and creation date & time from a
list of file in an access database?

If so, try

FileDateTime()

or

Dim oFSO As Object
Dim oF As Object

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oF = oFSO.GetFile("D:\My folder\File.TXT")
Debug.Print F.DateCreated

Set oF = Nothing
Set oFSO = Nothing

You can also find VB example that you could use/modify at
http://vbnet.mvps.org/index.html?code/fileapi/filedatetime.htm
 
Back
Top