|
-
Sep 25th, 2007, 06:00 PM
#5
Thread Starter
Frenzied Member
Re: Variable Automation by Reference?
Yeah i know, but what if im want to change the value in a different sub (in class ) that couldnt get the reference of the variable? So is there any way to STORE the reference id, then modify the referenced variable later?..
eg:
'in module
Global myVar as Long
'in a form sub
myClass.Init myVar 'pass the reference
myClass.Set 10 'it modifies myVar.
Please recheck my first post, that might be helpful to understand my problem..
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
|
Click Here to Expand Forum to Full Width
|