Variables

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

Guest

Is it possible to set a variable in one module and use it
in another module?
 
set the variables scope to Public and declare it outside of a sub or functions. for example:

at the top of 1 module put
Public MyVariable as integer

you should be good to use it anywhere now.
 

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