how to programatically add Word Menus due to Adobe Acrobat addin i

L

Laura

Hi,

I have a collection of templates that include menus. There is one main menu
in a global/startup template. And some other templates for letters, faxes,
etc. that also contain menus.

TYPICALLY they work just fine. But I'm at a company that has the Adobe
Acrobat addin and it is sometimes WIPING OUT the menus I've put in my
templates, other times causing duplicate menus to appear (I've read this is
due to their addin copying the menu to the Normal.dot)

I've been told that if I use VBA to create the menus Adobe won't destroy them.

Can anyone please tell me:
1. How can I add a menu to a global template so it loads with Word, but
doesn't keep appending a NEW copy each time I open Word.
2. How can I use VBA to create a menu that loads each time someone opens a
document based on a certain template, and goes away when they close that
document?

OR, it anyone has dealt with this adobe addin issue, and knows a different
solution, I'd love to know. They will not remove the addin but insist my
menus work...

Also -- this client has Interwoven Document Management so all the document
events like "file close" are controlled by them though I think i can tap into
their event handlers if I need to to take down the menu.
Thanks so much.

Help!
 
Z

zkid

Hi Laura,

I understand your pain re: Adobe. I had to rewrite many of my templates to
use a customized toolbar instead of manipulating the menu. It's also much
easier to just create and save the toolbar with each template than to
programmically change the menus. When the user creates a doc with the
template, the toolbar just appears. When the user closes the doc, the
toolbar disappears.

If you still insist on manipulating the menus, here's a good place to start:

http://www.mvps.org/word/FAQs/MacrosVBA/AddMenu.htm
 
L

Laura

zkid,
Thanks so much for your reply. That is what I've done for now -- just
plopped my menus onto toolbars. If they want more -- I'll cross that bridge
later. In the mean time, thanks for the link I will definitely check it out!
Laura
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top