yes toUpper is the way to do if I had not come across that one. Thanks Liam Lambert liamlambert at mac.com IRELAND