Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining the name of a referencing macro?

Status
Not open for further replies.

cactus13

Automotive
Joined
Jul 16, 2001
Messages
25
Location
NL
When calling a macro from within another macro is it possible to determine the name of the first from the second macro?

When your running macro B from macro A, is it possible to find the name of macro A?

Thanks in advance!

Jonathan
 
Not that I am aware of. You could pass a variable to the subroutine indicating where it's being called from if you really need it. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Thanks, I knew that, but I would like to get rid of the parameters... just to save me a lot of extra code
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top