List of Functions

Idris

Registered User.
Local time
Tomorrow, 04:13
Joined
Nov 9, 2005
Messages
67
I am looking for a VB Code that would list down all the User define function and procedure. Like I know how to list the names of modules but now I want to list each and every function in each modules.

Can anyone in here explain me how to achieve this list?

Thanks
 
Idris,

Hope this gets you started:

Code:
For i = 0 To Me.Application.Modules.Count
    Set ThisModule = Me.Application.Modules(i)
    strModuleName = OneModule.Name
    lngCountOfLines = OneModule.CountOfLines
    For j = 0 to lngCountOfLines
       strTemp = OneModule.Lines(j, 1)
       ' Parse the Module text line
       Next j
    Next i

Wayne
 
Thanks Wayne
 

Users who are viewing this thread

Back
Top Bottom