Brilliant thanks Raga, works a treat and I've found a few errors in what I'd done, so great help, much appreciated.

Ray