Thread: Variables
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Variables


Thank You!!



-----Original Message-----
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?

.