WD2000: Sample Macro to Return Macro and Procedure Names (262961)
The information in this article applies to:
This article was previously published under Q262961 SUMMARY
This article provides a sample macro that you can use to list the names of macros that are contained in active projects in Word 2000.
The ListAllMacroNames sample macro lists the names of macros in all projects that are not locked for viewing. For projects that are locked, the sample macro displays a "Macros in this locked project will not be listed" message, and it does not list the macros names. If you want to view a list of macros, point to Macro on the Tools menu, and then click Macros.
NOTE: When you load an add-in program, projects that are contained in it are locked. Therefore, the ListAllMacroNames sample macro does not list macros in add-in programs if the projects are locked.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbmacroexample KB262961 |
---|
|