How To Determine Filename Saved Date

G

Gary

How can I determine the date a filename has been save last in a directory??


Thank You,

G
 
D

David W. Fenton

Use the FileDateTime function.

I just wanted to point out that this is a built-in VBA function, not
something borrowed from the File System Object. That means no added
reference or late binding. I only use the FSO for things the
VBA.FileSystem functions cannot do.
 
D

Douglas J. Steele

David W. Fenton said:
I just wanted to point out that this is a built-in VBA function, not
something borrowed from the File System Object. That means no added
reference or late binding. I only use the FSO for things the
VBA.FileSystem functions cannot do.

Good point, David. I, too, avoid using FSO as much as possible: I'd much
rather use API functions than FSO when the VBA functions don't suffice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top