Can you check the last update property of a file?

E

Eric

Does VBA allow you to check the last update property of a
file to determine whether or not a later version is
available?
I want to look at the last time a file was updated and if
it is more than one day old I want to have it
automatically download the latest version.
 
S

Steve Garman

Eric said:
Does VBA allow you to check the last update property of a
file to determine whether or not a later version is
available?
I want to look at the last time a file was updated and if
it is more than one day old I want to have it
automatically download the latest version.

You can use filedatetime for this
 
T

Tom Ogilvy

Answer hasn't changed from yesterday when you asked this:

? filedatetime("c:\data1\alex2.xls")
7/10/2003 5:18:35 PM


Should give you the date and time when the file was last saved for a closed
file.
 

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