How do you change the File/Date timestamp on a file using VBA?

My VBA code is retrieving imaages from a digital camera.
When the images get copied, the files have todays date/time.
I need them to be the date they were taken which I happen to know.

How do you change the File/Date timestamp on a file?
LVL 10
aesmikeAsked:
Who is Participating?
 
LimbeckCommented:
hi, please look at this page for an explanation/examples. it is written for excel but will work in msaccess as well.

http://www.cpearson.com/excel/FileTimes.htm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.