Davefromleeds
New Member
- Joined
- Oct 9, 2024
- Messages
- 3
- Office Version
- Prefer Not To Say
- Platform
- Windows
Hello all,
I am working a reporting automation for multiple projects. Have a macro set up to save a copy of the file, renaming it as the project name (from a cell) and Todays date in the format " test dd-mm-yyyy".
I am running this as a way to the consolidate all the data into on file by looking into the existing folder. We want to to keep the audibility of past versions of the the plans so we dont want to just rename it or delete the old versions.
What i am looking for help with is to create a loop that looks through all the files in a folder containing the Project name, then move all but the latest into an archive folder. Been hitting my head against a wall with this for a month on and off and realised i cant figure it out on my own.
thanks for your help in advance.
I am working a reporting automation for multiple projects. Have a macro set up to save a copy of the file, renaming it as the project name (from a cell) and Todays date in the format " test dd-mm-yyyy".
I am running this as a way to the consolidate all the data into on file by looking into the existing folder. We want to to keep the audibility of past versions of the the plans so we dont want to just rename it or delete the old versions.
What i am looking for help with is to create a loop that looks through all the files in a folder containing the Project name, then move all but the latest into an archive folder. Been hitting my head against a wall with this for a month on and off and realised i cant figure it out on my own.
thanks for your help in advance.