Dear experts,
I found ways to join csv files on the internet but somehow I do not get them working for me.
I was thinking it was not that hard, I have a folder on my hardrive which consist of several files.
Now I want the macro to join all the CSV files.
The only hard part was the fact that there were 2 types of csv files. Files that start with AMS it needed to join.
BUT there are also AMSI files which should not be joined with AMS files but with other AMSI files.
I will attach 3 files. Can someone provide me a meaningfull macro which joins the 2 files that start with AMS and then also put only 1 header?
Because the files have the same header.
Other methodes did join the CSV files but also everytime copied the header.
Thanks.
ps: note that I have now 2 files but this could well be 5 or 6 depending how many csv files are in the folder.
Bookmarks