Variable in more than one module

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What is the best way to define a variable in one module and have it be held
constant in all other modules, fucntions, etc....?

Nick M.
 
Define it as Public in the declarations section (top; before any subs or
functions) of the module it is in.
 
that did it. Thanks!

K Dales said:
Define it as Public in the declarations section (top; before any subs or
functions) of the module it is in.
 

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

Back
Top