Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro to Reset File Creation Date

Status
Not open for further replies.

PBAPaul

Programmer
Aug 3, 2002
140
GB
I had to move some files from my hard drive onto CD, delete then from one hard drive and then copy them back onto another hard drive.

The File Creation Dates for these files are now being shown as the date I copied them onto the hard drive.
A program I use sorts the files into their File Creation Date order and so now, the files are not sorted correctly.

The File Modified Dates are correct and so I wish now to change the File Creation Date for each file to the File Modified Date.

I might have to repeat this procedure for some more files in the future and each time there are over 1,000 files in various sub-folders.


Can I use Excel VBA to change the File Creation Date?

Thanks in anticipation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top