Thank you RoyUK and PMO
I'm looking at both and will get back to you soon.
PMO, your solution has made me rethink my solution. Having a hiden sheet with the column title with help with future changes and the other payment files I have to manipulate.
At present your solution inserts the columns on the wrong sheet and I only need the new column headings to appear in the "-importdata.csv" file and not in the "-Queries.xls" file.
I have also been imfirmed that Donor vs Anon can be scrapped/changed as only column M "Donor No" will contain numbers for donors and will be blank for anonymous donors. Your solution overwrites these number which are required later, on the import file.
I've amended the code to show the changes:
Thank you for your help
John
Bookmarks