Aah yes. I think I did use a writeprofilestring last time to do this. I will give it a go and see if I can get it working. Thanks