How do I set a customized menu to display when the doc is first op

G

Guest

Hi all,

I've created a template in word with customized menus. When I open a new
Word document using the template, the customized menus do not display until I
select Tools > Customize. How do I set the customized menu to display
automatically?

Thanks in advance.
 
C

Charles Kenyon

1 - Have them displayed in your template when you save the template. I am
assuming that your custom menus are either on a custom toolbar (preferable)
or on one of the built-in toolbars. I also assume that you saved your
customizations in your template.

2 - Use an AutoOpen / AutoNew macro combination to force display. The code
in these macros would be something like:
Application.CommandBars("My Toolbar").visible = True


--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
G

Guest

I did something similar. The macro runs well but not automatically. i would
like this to be the default state. How is this done?


CustomizationContext = ActiveDocument
CommandBars("Formatting").Enabled = False
CommandBars("MyToolbar").Enabled = True
CommandBars("MyToolbar").Visible = True
 

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