Thankyou Guru and every one else who has been very helpful on this forum. The problem was an incomplete key ie: the =" was missing from the file sent to me by PTE or was it my email client was stripping it? anyway it now works fine, so thanks again for all your help. Guru I think my email is down, haven't recieved any email at all today. Phil