File Menu

S

scorpion53061

Inside a macro is there a way to tell the application to show or hide the
text version of the menu that says

File - Edit - View - Insert - Format - Tools

(rests on top of the toolbar)

Thank you for your help!!
 
J

Jonathan West

Hi Scorpion,

I've just done some experimenting, and it would appear that alone of all the
standard toolbars, the Visible property of the Menu bar cannot be set to
False. Trying to to set it false results in an error.
 
S

scorpion53061

Hi Johnathen and thank you for your response.
Ironically, it is the opposite affect I am seeking. I am using a custom
control in vb.net that shows the toolbar (the picture icons) but does not
show the menu.

I generally have been able to use vba code to produce what I need in the
document (long story how I pulled that off) but I cannot seem to find the
word property to address the menu problem.
 
J

Jonathan West

Is is possible that you are accidentally in full-screen mode? If so, set
ActiveWindow.View.FullScreen = False
 
S

scorpion53061

No luck. I put that statement in and it did not do it and what is worse it
did not bomb either (I could get an exception and go from there once I know
what is wrong.) It just appeared to ignore the statement.

I screwed up the control somehow. ... :(

It is the only logical reason why the menu is not displaying I think. The
reason I think is that when I right click on the toolbar the "Customize"
option where I could go to click on the "Main Menu" it greyed out.

Things were sure easier with the Ole Container in vb6...
 
S

scorpion53061

Johnathen,

Lets try this from another angle.

Can a user through vba add a command to appear in the toolbar that exists in
the menu such as the "Insert Footnote" command in the Reference menu.
 
W

Word Heretic

G'day "scorpion53061" <[email protected]>,

You cant mod the dialog that appears. What you can do is REPLACE that
menu entry with a call to your own "Work-alike" dialog.


Johnathen,

Lets try this from another angle.

Can a user through vba add a command to appear in the toolbar that exists in
the menu such as the "Insert Footnote" command in the Reference menu.

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

If my answers r 2 terse, ask again or hassle an MVP,
at least they get recognition for it then.
Lengthy replies offlist require payment.
 
J

Jonathan West

scorpion53061 said:
Johnathen,

Lets try this from another angle.

Can a user through vba add a command to appear in the toolbar that exists in
the menu such as the "Insert Footnote" command in the Reference menu.

Do you mean insert something in the toolbar, or insert something in the
Insert Footnote dialog?
 
W

Word Heretic

G'day "scorpion53061" <[email protected]>,

CommandBars("Menu Bar)".Controls.Add etc


sorry I meant in the toolbar.

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

If my answers r 2 terse, ask again or hassle an MVP,
at least they get recognition for it then.
Lengthy replies offlist require payment.
 

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