learn2power
New Member
- Joined
- Nov 19, 2021
- Messages
- 5
- Office Version
- 2016
- 2013
- Platform
- Windows
Hi guys
I am looking to select a previous month excel file based on the file name which contains the month name from two folders.
First folder contains the file name as "File (HFS) Dec-2021" with month in the form mmm- year
Second folder contains the file name as "2021 12 rpt final" with year and month in the form of integer.
Can someone please help me in figuring out how to select the previous month file based on above two examples through vba and select the values from column A and save as new file?
Thank you
I am looking to select a previous month excel file based on the file name which contains the month name from two folders.
First folder contains the file name as "File (HFS) Dec-2021" with month in the form mmm- year
Second folder contains the file name as "2021 12 rpt final" with year and month in the form of integer.
Can someone please help me in figuring out how to select the previous month file based on above two examples through vba and select the values from column A and save as new file?
Thank you