Getting the name of the function currently running 
Author Message
 Getting the name of the function currently running


is it possible to get the name of the function currently running from
within that function?

Sub DoSomething()
        msgbox functionname 'should result in a msgbox with the text "DoSomething"
End Sub

thanks, Michel

Fri, 23 Nov 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Getting the function's name during runtime while running in the scope of the function

2. retrieve name of currently executed function

3. Returning the name of the currently running procedure...

4. getting the function name into a variable

5. (Q) Getting current Sub/Function name (or Object Browser functionality)

6. Getting the User Group name using Current User Function

7. Getting function and procedure names using VBA

8. getting the name of current function/SUb

9. Getting Name of Tables At Run-time?

10. Getting the path or file name of running application

11. Getting name of control at run time??

12. getting table names at run time


Powered by phpBB® Forum Software