Thankyou Lankee for your response and I apologize for being a bit terse but I had been working on this file for an hour.

I am still getting a white screen and I have double checked all of the code do you have any suggestions.

with thanks