Results 1 to 2 of 2
2007-02-01, 21:37 #1
- Join Date
- Jan 2001
- Melbourne, Australia
- Thanked 0 Times in 0 Posts
Word menu locations (Word 2002 XP SR3)
We have a custom template that adds their menu items in to the Word menus. It appears these menus are added at specific locations in the menu.
Although their code mentions it will insert their menu item after menu Save As...., its actually appearing before. Please see screen capture
This is their code I found related to menu items:, and they have a sub that AddsMenus.
Public Const SaveWithOptionsTopMenu = 30002 ' "File" Top level Word menu
Public Const SaveWithOptionsBeforeId = 748 ' "Save &As..." new menu item placed after this menu item
Any ideas on how I can force the menu items to display in order as
Save with Options
2007-02-01, 21:57 #2
- Join Date
- Mar 2002
- Thanked 28 Times in 28 Posts
Re: Word menu locations (Word 2002 XP SR3)
The Add method of the CommandBarControls object has a Before argument, not an After argument. Similarly, the Move method of the CommandBarControl object also has a Before argument, not an After argument. So you can only specify before which existing control you place a control.
The control after Save As is Save As Webpage, with ID = 3823, so you could use
Public Const SaveWithOptionsBeforeId = 3823