Your line continuation errors when I copy/paste code. Can't break a string between lines like that. Need closing and opening quote marks and & character.
Code works for me. Data in combined file is grouped in the alphabetical order of the original file names.
You need to clarify issue.
Suggest you provide example of files as well as file names. Either as text in post or attached files.
|