Hi fruitbeard,
That seems to have worked perfectly, I dont know how many different ways I tried with this code but obviously not that one, thanks so much for the help I would have been stuck on this forever otherwise .