Thread: Variables
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mark Wielgus Mark Wielgus is offline
external usenet poster
 
Posts: 1
Default Variables

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.

" wrote:

Is it possible to set a variable in one module and use it
in another module?