Isabelle,
There is no way to programmatically determine what procedure
called another procedure. In debug mode, you can view the call
stack (View menu, Call Stack), but this is not available
programmatically.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Isabelle Robin" wrote in message
...
Hi to all,
I would like to know if it is possible to know who has called a
certain
function.
For example, I have three functions "printPage", "printPage1",
"printPage2" which can called another function "PrintToPdf".
I'm am in the "PrintToPdf" function. Is it possible to know
which
function has called me ?
Thks for your answer
Best regards