Posted to microsoft.public.excel.programming
|
|
Module / procedure name detection
Hi all,
Thanks for the help. I read in a Ron de Bruin post that you cannot detect
the name of a proc from within that proc. So I already used a method like
you all suggested. Many thanks!
"Nigel" wrote:
At the top of each procedure store the procedure name then try calling a log
procedure with the name of the procedure
Dim myProcedure as string
myProcedure = "ThisProcedure"
LogProc(myProcedure)
--
Regards,
Nigel
"Bony Pony" wrote in message
...
Hi all helpful people!
Is there a way to pass the executing procedure name to a variable? I want
to keep a log of the most frequently executed procedures in a workbook so
each time a proc executes, I build a little table with the Module name,
procedure name, user and procedure duration (timed seperately).
All ideas treated equally!!
Best regards and happy Spring to the North!
Bony
|