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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I obtain a list of functions/subs in modules?

Status
Not open for further replies.

jrbarnett

Programmer
Jul 20, 2001
9,645
GB
Hi,

I am writing an Access 97 addin to document databases and wondered if anybody can think of an easier way of obtaining the function/sub prototypes in each module without parsing each line of the module code in the Modules collection.
This information is available in the Object browser so it is obviously available.

Regards

John
 
Look in Access 97 help under Module. If you look at the properties of the Module object you should find an example of a function that does pretty much what you need, the only thing you need to add is a loop to go through all modules rather than just one. Jamie Gillespie
j-gillespie@s-cheshire.ac.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top