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 / November 2003

Tip: Looking for answers? Try searching our database.

File Menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
scorpion53061 - 28 Nov 2003 12:06 GMT
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!!
Jonathan West - 28 Nov 2003 12:37 GMT
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.

Signature

Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup

> Inside a macro is there a way to tell the application to show or hide the
> text version of the menu that says
[quoted text clipped - 4 lines]
>
> Thank you for your help!!
scorpion53061 - 28 Nov 2003 14:06 GMT
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.

> Hi Scorpion,
>
[quoted text clipped - 10 lines]
> >
> > Thank you for your help!!
Jonathan West - 28 Nov 2003 15:18 GMT
Is is possible that you are accidentally in full-screen mode? If so, set
ActiveWindow.View.FullScreen = False

Signature

Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup

> Hi Johnathen and thank you for your response.
> Ironically, it is the opposite affect I am seeking. I am using a custom
[quoted text clipped - 23 lines]
> > >
> > > Thank you for your help!!
scorpion53061 - 28 Nov 2003 16:47 GMT
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...

> Is is possible that you are accidentally in full-screen mode? If so, set
> ActiveWindow.View.FullScreen = False
[quoted text clipped - 26 lines]
> > > >
> > > > Thank you for your help!!
scorpion53061 - 28 Nov 2003 16:56 GMT
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.

> Is is possible that you are accidentally in full-screen mode? If so, set
> ActiveWindow.View.FullScreen = False
[quoted text clipped - 26 lines]
> > > >
> > > > Thank you for your help!!
Word Heretic - 29 Nov 2003 06:40 GMT
G'day "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com>,

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.

"scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> was
spinning this yarn:

>Johnathen,
>
[quoted text clipped - 40 lines]
>> > > >
>> > > > Thank you for your help!!

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.
Jonathan West - 29 Nov 2003 17:55 GMT
> 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?

Signature

Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup

scorpion53061 - 29 Nov 2003 18:45 GMT
sorry I meant in the toolbar.

> > Johnathen,
> >
[quoted text clipped - 6 lines]
> Do you mean insert something in the toolbar, or insert something in the
> Insert Footnote dialog?
Word Heretic - 30 Nov 2003 06:37 GMT
G'day "scorpion53061" <scorpion_53061nospamhereplease@yahoo.com>,

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

"scorpion53061" <scorpion_53061nospamhereplease@yahoo.com> was
spinning this yarn:

>sorry I meant in the toolbar.
>
[quoted text clipped - 12 lines]
>> Do you mean insert something in the toolbar, or insert something in the
>> Insert Footnote dialog?

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.
scorpion53061 - 28 Nov 2003 17:23 GMT
http://www.kjmsolutions.com/screenshot.htm

is a screenshot of what I am seeing.

> Is is possible that you are accidentally in full-screen mode? If so, set
> ActiveWindow.View.FullScreen = False
[quoted text clipped - 26 lines]
> > > >
> > > > Thank you for your help!!
 
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.