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 / October 2005

Tip: Looking for answers? Try searching our database.

Deleting classic commandbars and adding self made commandbars

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vicenflor - 07 Oct 2005 22:20 GMT
Hello,

During the startup of a document, I want to delete or hide some classic
commandbars like "drawing", "outlining"? ..... On the other hand, I want to
display some self made commandbars, place at the top of my window. Could
anybody give me some examples how to achieve this. I have little experience
with vba, but perhaps with some examples, I can find my way ou.

Thanks
Vicenflor
Jonathan West - 07 Oct 2005 22:28 GMT
Hi Vicenflor

You can show and hide toolbars by changing their Visible property. There are
code examples in the Help.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

> Hello,
>
[quoted text clipped - 8 lines]
> Thanks
> Vicenflor
Helmut Weber - 07 Oct 2005 22:55 GMT
Hi everybody,

>You can show and hide toolbars by changing their Visible property.
>There are code examples in the Help.

As easy as that.

Quite the opposite with positioning custom toolbars.
It seems, when trying to position custom toolbars in autoopen,
all of the toolsbars are available only after autoopen has been
completed.

I got three vertical custom toolbars in a template.
One on the left of the window, two parallel on the right.
If I create or open a doc, based on this template, the right
two toolsbars appear underneath, one on top of the other.
Applies to Word XP, in Word 97 everything was alright.

If I tried to position them in autoopen or autonew,
Word told me, they weren't existent. Though I could see them.

The remedy was an ontime-macro, started from autoopen or autonew,
with a second or so delay, to do the positioning.

Can't say whether this applies to versions higher than XP.

Signature

Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

 
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.