Variable name at runtime

Variable name at runtime

Is it possible to know the variable name connected to combined element that calls a function?
I have a function that calls a VBA macro which is executed from a combined element.
Is there any way in VBA to get the variable name tied to the combined-element?
For example I have a macro that set the M1 bit for a variable loop1.status (int).
the combined element animates a symbol based on this variable and on click calles the
function to execute the VBA macro. I would like to only have one macro and pass it the
variable instead of having a macro for each variable.
Related question, who are user defined parameters used in the call VBA function used?
I can create them but don't know there intent the online help was not to useful to me.
See attached picture.
Bill Sneddon PE
W 804.952.8389
C 804.767-0267
F 804.237.0430 (fax)
[email]Bill.Sneddon@ParacleteCorp.com[/email]
http://ParacleteCorp.com

This is a migrated post! Originally posted on 14.10.2013 by user bsneddon. Please be aware that information can be outdated.