-
Hey,
I'm kinda new to VBA and was reading these forums to get help with some of my code.
I'm running a code containing 3 standard modules. Till now they were independant, in the sense that no variables needed to be passes from one module to another. Now I have a requirement to pass a few variables between modules.
Declaring variables as public in a standard module allows it to be accessed only in that module and doing the same in the ThisWorkbook module doesn't allow access to it from any standard module .
I was initially trying to use the "friend" variable declaration but was completely lost.
Any help will be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules