SideburnsJim
New Member
- Joined
- Nov 24, 2017
- Messages
- 6
I have hundreds of folders that all have the naming convention: "Organisation_2023_03_17_01_40_24" where "Organisation_" is constant, but "2023_03_17" refers to the date the files in the folder were created and "_01_40_24" refers to the time.
Within each folder there are 4 .txt files named: Organisation_balances, Organisation_categorisation, Organisation_events, Organisation_progress
I would like a VBA script that would allow me to select which folders I want to work with, and then change the name of the four files within each folder to use the date element of the folder. Eg; Organisation_balances.txt becomes Organisation_balances_2023_03_17.txt
Can someone please advise on how to do this?
Many thanks
Within each folder there are 4 .txt files named: Organisation_balances, Organisation_categorisation, Organisation_events, Organisation_progress
I would like a VBA script that would allow me to select which folders I want to work with, and then change the name of the four files within each folder to use the date element of the folder. Eg; Organisation_balances.txt becomes Organisation_balances_2023_03_17.txt
Can someone please advise on how to do this?
Many thanks