Thanks for the reply I will give that a try tomorrow. I am still confused as to why it works in the main program loop that calls that sub show above with out having those set. I will let you know if it works.