J
John Keith
How would I reference the name of the currently running macro?
Either from the macro screen OR from a VB code module.
I have some functions stored in a code module that need the macro name as
the input parameter... I.E. PAStart("macro name") <-- I could hard-code/type
it in when ever I am setting up each macro that uses this, but it would be
much nicer if I could specifiy the function call ... PAStart(me.name) for
example.
-OR-
Perhaps from the RunCode action, reference the function with a null input
parameter and have the VB Code detect null input and then grab the currently
running macro name from some object (like ME.___ that is aviable when running
a form module)
Is something like this possible, or am I forced to hard-code the input parm
each time I have a macro call this function?
Either from the macro screen OR from a VB code module.
I have some functions stored in a code module that need the macro name as
the input parameter... I.E. PAStart("macro name") <-- I could hard-code/type
it in when ever I am setting up each macro that uses this, but it would be
much nicer if I could specifiy the function call ... PAStart(me.name) for
example.
-OR-
Perhaps from the RunCode action, reference the function with a null input
parameter and have the VB Code detect null input and then grab the currently
running macro name from some object (like ME.___ that is aviable when running
a form module)
Is something like this possible, or am I forced to hard-code the input parm
each time I have a macro call this function?