Ananthak275
Board Regular
- Joined
- Aug 22, 2020
- Messages
- 128
- Office Version
- 2013
- Platform
- Windows
- MacOS
Trying to create a VBA that copies the most recent file in folder based on name. The folder would have files in this format (seen below)..
In this example; I would want it to copy "AFILENAMENAMES_2022-10-20 - (Published On 2022-10-20 10-09-16)" and move to another folder.
AFILENAMENAMES_2022-10-20 - (Published On 2022-10-20 10-09-16)
AFILENAMENAMES_2022-10-19 - (Published On 2022-10-19 09-04-55)
AFILENAMENAMES_2022-10-18 - (Published On 2022-10-18 09-16-22)
AFILENAMENAMES_2022-10-17 - (Published On 2022-10-17 09-17-49)
In this example; I would want it to copy "AFILENAMENAMES_2022-10-20 - (Published On 2022-10-20 10-09-16)" and move to another folder.
AFILENAMENAMES_2022-10-20 - (Published On 2022-10-20 10-09-16)
AFILENAMENAMES_2022-10-19 - (Published On 2022-10-19 09-04-55)
AFILENAMENAMES_2022-10-18 - (Published On 2022-10-18 09-16-22)
AFILENAMENAMES_2022-10-17 - (Published On 2022-10-17 09-17-49)