I am trying to "move" all files of any name in a folder to a new folder who's date time of making is less then the most resent date time found, i.e I only want the most resent file (chosen by date and time of its making not its file name) to remain in the folder all other files moved to a new Folder
I can find the most resent file by date time with the function : LatestDateTime but the sub Copy_Files_Dates is not moving the files
The sub is not executing the If statement
I have been tring to get this for a long time but am not getting it!Please Login or Register to view this content.
Thanks
Please Login or Register to view this content.
LatestDateTime function:
Please Login or Register to view this content.
Bookmarks