getting current procedure name

  • Thread starter Thread starter tom taol
  • Start date Start date
T

tom taol

sub aaa()
~~~~~
msgbox currentProcedureName
end sub

thus, i want to show aaa in messagebox.
 
The only way I know how to do that is

sub aaa()
Const strProcedure As String = "aaa"
......
msgbox strProcedure
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top