Hi guys,
Hopefully a quick question.
I have a sub which is called from a number of different places and I want it to do something different if it is called from one specific place which I would rather not do using parameters.
How can I find out using VBA which procedure called the procedure that I am in. I only need to go back to the immediate parent but if there is generic code that can find all acestors that would also be useful.
Regards
Obiron
Hopefully a quick question.
I have a sub which is called from a number of different places and I want it to do something different if it is called from one specific place which I would rather not do using parameters.
How can I find out using VBA which procedure called the procedure that I am in. I only need to go back to the immediate parent but if there is generic code that can find all acestors that would also be useful.
Regards
Obiron