Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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
Jul 16, 2001
25
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
 
Replies continue below

Recommended for you

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