View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Francis Brown Francis Brown is offline
external usenet poster
 
Posts: 57
Default Global Variables

Could some one explain how to set up some global variables.

I Have code that uses application.username to test who is using my
application.

The code then accesses a userfile.xls sheet to find what management group
the person belongs too and detects there manager etc. This is then used to
setup where the users data is saved etc.

I can get all of the above to work but the variables are only good for the
module.

How to I say make a variable good for all code in the project.

eg if the users team is retrived from my code to a variable called Team. how
to I keep that variable valid after the module closes.
--
Regards and Thanks for any assistance.

Francis Brown.