ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can you check the last update property of a file? (https://www.excelbanter.com/excel-programming/283238-can-you-check-last-update-property-file.html)

Eric[_14_]

Can you check the last update property of a file?
 
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.

Steve Garman

Can you check the last update property of a file?
 
Eric wrote:

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

--
Steve Garman


Tom Ogilvy

Can you check the last update property of a file?
 
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.

--
Regards,
Tom Ogilvy



"Eric" wrote in message
...
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.





All times are GMT +1. The time now is 11:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com