Hi Kenneth

Thank you for your reply. I'm afraid you've totally lost me... I put the basic in VBA unfortunately! If you have time to work something up for me I'd be really grateful...