Passing one Class Module variable into second class module

mcdhappy80

Registered User.
Local time
Today, 01:52
Joined
Jun 22, 2009
Messages
347
Can i pass a variable from forms Class module into second forms class module, and can someone explain how?

Thank You
 
Hi

you can make it public and then it's available to all

Code:
Public MyVar As Variant

put it at the top of a module under option explicit


Nidge
 

Users who are viewing this thread

Back
Top Bottom