Hi, I've had a search on a lot of forums butI can't work out how to adapt the code I've found to my problem.
I have set up a button on a Worksheet which needs to initiate the moving of a number of files from one folder to several others.
The source folder path is ‘C: \Audits to be sent’.
There are 2 different types of Excel file:
Level A Audit
B Audit
These will be moved to other folders dependant on the file name.
The target folders are:
‘C:\Reporting\Audit files\Level A Audits’
'C:\Reporting\Audit files\Level B Audits\Level B Year 14\Level B 1403’
(The Level B Year folder is dependent on the first 2 numbers (14) of the file and of course the 4 digits (1403) indicates which folder in there)
Example File names:
Level A Audit at Location for Period 1401.xls
B Audit Location14_01.xls
There shouldn't be any duplicate files but how would it handle those?
So to summarise, the function would search the ‘Audits to be sent’ folder move all of the Level A files to the ‘Level A Audits’ folder. Then it would in turn look at the Level B Audits, ascertain their individual Year Folder and then move it to the correct Period Folder.
Thank you for any help that you can give me.
James
Bookmarks