Thanks Carim,

Will give that a go. It's worth it as I have over 8000 lines and can't be bothered to format each one manually!

Ciao