Parsing Arguments Question

S

skuzapo

Hi all,

Please may someone advise how parsing arguments works (if that's what
need to do)...

I have two user forms each with their own code. A button on the firs
one opens the second form. Based on user selections in the first for
certain controls on the second are visible or not. The variable t
control this is in the code of the first form as it adds up a number o
things.

What I don't know how to do is - how do I tell the second form what th
value of that variable is?

Sorry - not a very challenging question for all the luminaries ou
there!
Thanks in advance for your help
 
G

Guest

Make your variable static. That is, DIM it outside of both your macros and
not inside any of them. The first macro can set the variable and the second
can see the value set by the first.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top