Hello guys,
I am a bit familiar to vba scripting. What I would like to see/accomplished is that approx. 500 files are rearanged into specific (sub)folders named with the weeknumber of the files.
Example:
NOW:
file[whatever]{date = 01-01-2016} /week 1
file[whatever]{date = 08-01-2016} /week 2
file[whatever]{date = 15-01-2016} /week 3
file[whatever]{date = 01-22-2016} /week 4
file[whatever]{date = 01-29-2016} /week 6
etc.
NEW situation
MainFolder/Week_1/file[whatever]{date = 01-01-2016}
MainFolder/Week_1/file[whatever]{date = 02-01-2016}
MainFolder/Week_1/file[whatever]{date = 03-01-2016}
MainFolder/Week_1/file[whatever]{date = 04-01-2016}
So, I need to calculate the weeknumber of each file,
use this number to:
Create a new folder with the name"Week" &[weeknumber] /one time operation for files concerned
Move the files within this weeknumber period to the newly created folder.
Jumping through the whole list of files in the [main] folder.
Q:
is it possible?
How to accomplish?
Any help would be appreciated.
Perhaps it might be an extra 'tool' as well for MC