Hello Friends,
I need a VBA code to copy all files from a folder located at From Path to a folder located at To Path but only those files which are new or have a modification date other than the files which already exists in To Path.
For example
CASE # 1
There are 25 files in the folder located at From Path out of which lets say 16 files already exists in the folder located at To Path.
In said case I would want the code to copy only 9 new files.
CASE # 2
There are 25 files in the folder located at From Path out of which lets say 16 files already exists in the folder located at To Path - but 2 files out of these 16 files have a modification date other than the files in the folder located at From Path.
In said case I would want the code to copy 11 files in total. 9 new files & 2 modified files.
From Path: "\\192.168.0.100\itex share\DESIGN"
To Path: "C:\ITEX DATA\DESIGN"
Any help would be appreciated
Regards,
Humayun
I need a VBA code to copy all files from a folder located at From Path to a folder located at To Path but only those files which are new or have a modification date other than the files which already exists in To Path.
For example
CASE # 1
There are 25 files in the folder located at From Path out of which lets say 16 files already exists in the folder located at To Path.
In said case I would want the code to copy only 9 new files.
CASE # 2
There are 25 files in the folder located at From Path out of which lets say 16 files already exists in the folder located at To Path - but 2 files out of these 16 files have a modification date other than the files in the folder located at From Path.
In said case I would want the code to copy 11 files in total. 9 new files & 2 modified files.
From Path: "\\192.168.0.100\itex share\DESIGN"
To Path: "C:\ITEX DATA\DESIGN"
Any help would be appreciated
Regards,
Humayun