Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procedure name

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi

Does anyone know how to create a message box giving the name of the currently running procedure?

For example

sub testcode
Msgbox(nameofcode)
end sub

might display a message box saying "testcode"

Thanks

 
Sorry perhaps I didnt explain this very well.

I want the message box to display the name of the procedure it is running. In the example above it was called "testcode" but it could be anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top