View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
FunkySquid FunkySquid is offline
external usenet poster
 
Posts: 29
Default Displaying the Sub or Function Name

Is there anyway of displaying the current sub or function name that is
running?

Something like:

Sub DisplaySubName()
MsgBox ThisSub.Name
End Sub