Thanks so much guys for both bits of advice.
Works like a treat.