|
-
January 4th, 2010, 01:07 PM
#1
passing variable name rather than the variable
There is a simple way to refer to the variable name rather than then variable value, but I can't remember or locate how to do it. I forget the term, somthing like convert the name to a string?
such as:
apple=20
lemon=33
banana=45
send one of these names (call it "xfername")
xfername=xfername +4
msgbox (" increased to " & xfername)
Note that what I desire is that if apple were the "sent one", it would have an updated final value of 24. If banana were sent, it would have a value of 49.
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
|