TelKel81 Active Member Licensed User Jan 18, 2020 #1 Hi, I would like to obtain the name of the calling sub without having to actually pass the name of the sub as a parameter to the called sub. Is there a way to do that ? The reason is for debugging/logging purposes. Thanks !
Hi, I would like to obtain the name of the calling sub without having to actually pass the name of the sub as a parameter to the called sub. Is there a way to do that ? The reason is for debugging/logging purposes. Thanks !
DonManfred Expert Licensed User Longtime User Jan 18, 2020 #2 Martin D. said: The reason is for debugging/logging purposes Click to expand... Add a Log in the module where another method is called before the line. Upvote 0
Martin D. said: The reason is for debugging/logging purposes Click to expand... Add a Log in the module where another method is called before the line.
TelKel81 Active Member Licensed User Jan 19, 2020 #3 I would like to avoid adding a line on the calling sub. I would like to do the work in the called sub. Upvote 0
I would like to avoid adding a line on the calling sub. I would like to do the work in the called sub.
LucaMs Expert Licensed User Longtime User Jan 19, 2020 #4 Martin D. said: I would like to avoid adding a line on the calling sub. I would like to do the work in the called sub. Click to expand... CallSubDelayed3(Target, "RoutineName", params, "CallingRoutineName") ? Upvote 0
Martin D. said: I would like to avoid adding a line on the calling sub. I would like to do the work in the called sub. Click to expand... CallSubDelayed3(Target, "RoutineName", params, "CallingRoutineName") ?