Global scope, propriety, or pass it as a parameter to the new form constructor.
Can anyone tell me how to declare items on different forms for example on Form 1 i do "Dim MeOn As Integer" or "Public MeOn As Integer"
and I want that variable on Form 2 how would I declare that?
Global scope, propriety, or pass it as a parameter to the new form constructor.
Light travels faster than sound. That's why most people seem bright until you hear them speak.
Paul (11-28-2012)
If it's public you can just say in form2:
Code:sub Omg() msgbox(form1.MeOn).tostring end sub