• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Filter month based on file name contains monthss

desmotr

New Member
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??

Thanks so much
 

Attachments

Back
Top