Thank you very much Pete, it worked perfectly.

Big thanks to everybody else who replied as well.