As it depends on all you forgot to well elaborate like any forum expects in the initial post !
You missed the top page yellow banner as some sources files are necessary
like the before workbook & expected result workbook …
So rather than guessing - no time to waste ! - a direction : use the Dir VBA function as explained in the VBA help.
Read also the help for the Workbooks.Open method working with csv files.
As it's a forum for coders it's time to learn !
As you can also activate the Macro Recorder and operate manually in order to get a base of code.
Of course in case of cross posting it requires more time for any helper to watch out the answers on other forums
so be patient, much more if you didn't cross-post …
Bookmarks