If I have a macro with two subs, how would I get one of them to access variables declared in the other? I thought it was just SubName.VariableName, but that's not working...
example:
VB Code:
Sub Main() Dim Variable1 as Integer End Sub Sub NotMain() ' how do I access Variable1? End Sub
