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

Template custom menu disappears with add-ins

Status
Not open for further replies.

Strobeman

Programmer
May 16, 2003
40
AU
Hi Guys,
I have added a new menu item to a Word 2003 template. This template calls a bunch of other templates using add-ins. My menu works fine until I hit a shortcut which then loads one of the add-ins and it disappears. I also tried creating the menu item in the add-in templates but this did not work. From my searching it appears to be a recognised problem with Word. Has anyone managed to get around this?
 
Two things you can take a look at...

1. When you say "Hit a Shortcut" do you mean a desktop shortcut that might start another session of Word? (A session that doesn't have the template open and consequently doesn't have your menuitem?)

2. Is the offending addin (that starts from the shortcut) re-setting the standard Word menubar? That would wipe out your custom menuitem.

Greg
 
Thanks for the reply Greg.
1. Shortcut keys have been setup to run macros which put an image of menu options on the page. The user can then select one of the numbers on the menu and this triggers another macro to paste chunks of text on the screen. This save the typists from having to type the same standard chunks of text over and over again.
2. I think you are right here. The way I finally got around this was by changing the image menus to popup menus and getting rid of the addins. Now when they choose a menu item it runs code behind the same form and my menu items do not disappear.
Cheers
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top