Hi
Can anyone help me by writing a macro that can move a zip file from a specific folder, put it in a new specific folder elsewhere on the drive, extract it in that location, then delete the zip?
The delete is the least important part. When it moves it initially it would be best if it was cut, but if its easier to copy and paste that works as well.
The main trick is identifying the zip file to move. I need the macro to do this itself by finding yesterday's date in the file name, and if the word TAP is present.
Example filename:
20191113 - UU TAP Form Return - 44.zip
so the code would have to find that, today. So something like Filename Contains System date (yyyymmdd) -1, and "TAP". The date my not be at the start of the name, but eslewhere in the string.
My VBA skills are capable of little more than altering addresses in existing code, i've got no chance of being able to write this myself.
If anyone can help, i'd really appreciate it.
Thanks
Ste
Can anyone help me by writing a macro that can move a zip file from a specific folder, put it in a new specific folder elsewhere on the drive, extract it in that location, then delete the zip?
The delete is the least important part. When it moves it initially it would be best if it was cut, but if its easier to copy and paste that works as well.
The main trick is identifying the zip file to move. I need the macro to do this itself by finding yesterday's date in the file name, and if the word TAP is present.
Example filename:
20191113 - UU TAP Form Return - 44.zip
so the code would have to find that, today. So something like Filename Contains System date (yyyymmdd) -1, and "TAP". The date my not be at the start of the name, but eslewhere in the string.
My VBA skills are capable of little more than altering addresses in existing code, i've got no chance of being able to write this myself.
If anyone can help, i'd really appreciate it.
Thanks
Ste