Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

Enable/Disable submenu of a custome template menu?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ML - 24 Feb 2005 15:53 GMT
I have a custom menu in my template.  Based on a userform selection I would
like to disable or enable some of the submenu items.  How can this be done?
ML - 24 Feb 2005 17:29 GMT
I tried
CommandBars("ABC").Enabled = false

Seems to work for built in menus but if I give it the name of my custom menu
it give the error.  Can you not reference a custom menu directly by name?

When I check the CommandBars collection my custom menu is not there either
and hence why the issue.

This is a custom menu that was added to the main Word menu.  IT appears fine
and functions when the template is used but I cannot seem to find any way to
reference it in order to disable it.

Any ideas?

>I have a custom menu in my template.  Based on a userform selection I would
>like to disable or enable some of the submenu items.  How can this be done?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.