New to VB and using Visual Studio 2008. Trying to declare variables and arrays that can be used outside a specific procedure. I want to make the variable universally available within the program. I think I know how to do the declaration, I just can't find where in the code window to put it. Can't use PUBLIC within a procedure right?
Thanks! Very cool, I found the module and put the variable declarations in there. Of the six variables, two of them remained unavailable to the code on the form... I got an error message. Those two, which are within a FOR...NEXT loop have to be declared in the form code for the thing to run. I'm using "Public" to declare the variables in the module... is there some other way to declare them so they'll be available even within a loop?