Thanks gfvalvo,
I don't understand what you are asking by "show where you defined the variables." Can you explain the difference between defining a variable and declaring a variable? I presented all of the code in my first post.
Thanks for your forbearance. It's been awhile since I coded, and am rusty.