Originally Posted by
chocoprince
Can someone tell me how I can merge ex1.csv from "folder 1" with ex1.csv from "folder 2" and save it under the name ex1.csv in "folder 3"?4
Also can I remove the first row of ex1.csv in folder 2 so I don't have two headers?
Copy all files from Folder1 to Folder3 then for each file in Folder3
if exists the same name file in Folder2 (see VBA Dir function)
so open the file in Folder3 in Append mode (see the VBA Open statement) and open the file in Folder2 in Input mode
then read each line from Folder2 file and write it to the Folder3 file (like you can see in the VBA help examples) …
For further help post at least some source files and expected result files with the appropriate technical explanation
in order any helper has all the necessary without anything to guess
or you must be very confident with your Excel / VBA skills to amend any code !
Bookmarks