Recently I have moved as much code as I can into functions. The issue I am having is when I am calling the procedure from a form, whatever variables I am using come up as variable not defined. I add Dim statements in the form to remove trhe error message. Is there another way to declare a variable instead of having to dim it?
Tom
Tom