Hi,
I think the
is close to what you want - but it looks like it can't give back a Sub name.
How about creating Public Variables called Sub1, Sub2, Sub3
When a Sub starts you would have a line of code to put the Sub Name in the Public Variable
Just before the Sub ends you would remove the name from the Subs.
Essentially you would be creating your own Subroutine Stack function that would keep the name of the current Sub along with the past Sub names in the Global Variable Stack.
I think this would work for you.
Bookmarks