VBA to Find File Last Modified Date

Published: 07 February 2023
on channel: OfficeTricks
2,184
9

How to find File Last Modified Date using VBA code?
If there is a need to access the file that was last modified or updated in a folder, then programmer has to find the last modified date from the file properties.
This can be done in VBA using one of these 2 methods.
Use one these 2 simple methods to find the file Last modified date using build in functions with in VBA code & by using file system object.

The second VBA function not only gives the modified date, but also gives the file creation date and last accessed date.
It might be little confusing to understand the difference between the last modified date and last accessed date. Last accessed is the date when someone open the file, sees its content and closes the file without any modifications to it. If anything gets modified and saved, then that date gets updated to last modified date parameter.


Watch video VBA to Find File Last Modified Date online without registration, duration hours minute second in high quality. This video was added by user OfficeTricks 07 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,184 once and liked it 9 people.