WD2000: How to Generate a List of Command Bar Names, Captions, and ID Numbers (243988)
The information in this article applies to:
This article was previously published under Q243988 SUMMARY
In Microsoft Word, each element of the CommandBars collection uses a unique number for its ID property. This number determines the built-in action for each control in the CommandBars collection. NOTE: The value of the ID property for Custom controls is 1.
The CommandBars collection consists of CommandBar objects. The following items are represented by CommandBar objects:
- Menu bars, toolbars, and shortcut menus
- Menus on menu bars and on toolbars
- Submenus on menus, on submenus, and on shortcut menus
REFERENCESFor additional information about resources for creating custom solutions by using Visual Basic for Applications and Microsoft Word 2000, click the article number below
to view the article in the Microsoft Knowledge Base:
212623 WD2000: Macro Programming Resources
226118 OFF2000: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbmacroexample KB243988 |
---|
|