Thanks for both of your suggestions guys! HanneSThEGreaT once again mate you have come up trumps - you code works a treat!

Thanks a lot!