Hi Henrique , Thanks for this. An additional problem is that each row begins and ends with a " So when i try and copy and paste (94 rows) , it does not work with the last value within a row. Each row has some 50 x1,y1,0 values. How to modify the code for this? Regards, Ajay