View Single Post
 
Old 11-17-2015, 09:15 AM
Officer_Bierschnitt Officer_Bierschnitt is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Oct 2015
Posts: 87
Officer_Bierschnitt is on a distinguished road
Default Declaring a variable that is known across modules

Hi,

I have a number of variables declared in one module which I need in a second module which is called from the first one.
The variables are all declared using the keyword "Public", but it seems those are global only within one module.
How can I either declare them cross-module-global or just transfer them from one module to the next?

Thanks a lot!

Best regards,

Officer_Bierschnitt

P.S.: I think I have understood what I've found online insofar that I can create another module, call it "Declarations" and there declare all my variables as PUBLIC and they will be global across modules. Right? Do I then have to call my first module from that one?
Reply With Quote