I have like 3 different forms and I have 2 variables that I want to be accessible from all forms. How do I do that?!?!?
Printable View
I have like 3 different forms and I have 2 variables that I want to be accessible from all forms. How do I do that?!?!?
put your variable in a bas module
and declare it public
Public MyVar as String
thanks
:D
if you want to access controls your do it this way.
form1.text1.text = form2.text4.text