I just wanted to say thanks dave for the help with this program. It was driving me crazy. I worked most of yesterday on it and quit. This morning got up read your posts and for some reason I got it. The program is working perfectly. I even understand how and why it is working.

Thanks again for your help.