Hi Melanie

Many thanks for the code,
Its just the job and it gives me a chance to learn some more code functions.

All the best
Dave..