Great, works a treat!
(I'm not sure how to change the title of this thread to solved....)