Forum

Filter month based ...
 
Notifications
Clear all

Filter month based on file name contains months

2 Posts
2 Users
0 Reactions
141 Views
(@haiitsdes)
Posts: 1
New Member
Topic starter
 

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 so muchFirst-Folder-Sample.pngSecond-Folder-Sample.png

 
Posted : 16/02/2022 10:08 am
Alan Sidman
(@alansidman)
Posts: 223
Member Moderator
Share: