Hi vbaInet, Thanks for that, that solved the problem, I didn't think about the count variable, but it's one I won't forget now. Cheers John