Thanks for the previous help, that triggered a few dormant grey cells :-) and leads me to another question.
I would like to compare 2 (unsorted) csv files.. file 1 contains fredbloggs,0 joebloggs,3 joeblow,6 file 2 fredbloggs,1 joebloggs,4 replace the value in file 2 with the value in file 1. if the item in file 1 doesn't exist in file 2, insert/append the line so that file 2 becomes fredbloggs,0 joebloggs,4 joeblow,6 Again, thanks for helping, it's much appreciated. Brian