Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default getting current procedure name



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

thus, i want to show aaa in messagebox.

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default getting current procedure name

The only way I know how to do that is

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



"tom taol" wrote:



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

thus, i want to show aaa in messagebox.

*** Sent via Developersdex http://www.developersdex.com ***

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to jump from a Form procedure to a Workbook or Module procedure? T. Erkson Excel Programming 4 January 25th 07 07:15 PM
call a procedure using current inputs mike allen[_2_] Excel Programming 2 July 2nd 04 12:06 AM
changing current directory to that of the current open file unnameable Excel Programming 2 May 19th 04 11:14 AM
Programming a current procedure Dave Peterson[_3_] Excel Programming 1 July 19th 03 01:58 PM


All times are GMT +1. The time now is 09:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"