PDA

View Full Version : How to Get the Name of Executing Macro



Cyberdude
08-04-2009, 07:40 PM
For the life of me I can't remember how an executing macro can get its own name. Any suggestions?

Bob Phillips
08-05-2009, 02:29 AM
There is a way, which I admit I have forgotten, but it is flawed in that it only works in the same module. The way I do it is to set a variable with the procedure name on entry, MZ-Tools is a big help here.