Getting Rid of the Web Toolbar in Microsoft Word

ADD Balance - trademark of Charles Kenyon, Attorney at Law and Webmaster.
Microsoft Word - Frequently Asked Questions - click to go to the question list.

on ADD Balance by Madison Wisconsin Criminal Defense Lawyer Charles Kenyon

Thank you for the suggestions. ("Smilies" from Woody's Lounge.) Click to go to Lounge. with input and suggestions from many on Thank you for the suggestions. ("Smilies" from Woody's Lounge.) Click to go to Lounge.
the Microsoft Newsgroups and at Woody's Lounge 

Click here to skip past FAQ questions list and other info and go directly to the start of this topic.

Remember to Refresh your page. [F5] in Internet Explorer. [Ctrl-R] in Netscape.

Home
Word Tutorial - Intermediate
Legal Users Guide to Word
Downloads
Books about Microsoft Word - Newsgroup suggestions
Links
Web Resources for Microsoft Word

Using Date Fields in Microsoft Word
Calculated Dates
Booklet Formatting and Printing in Microsoft Word
Changing the Default Font in Microsoft Word
Document linked to Printer in Microsoft Word
Fonts Missing from Menu in Microsoft Word
How can I get a different header / footer on the second page?
More on Headers and Footers in Word
Letterhead
Weird Lines and Borders
Macros and VBA
Master Documents Feature in Microsoft Word
Moving (Sharing) Customizations in Microsoft Word
Global StyleSheet?
MVP means?
Naming Files - A System is the Key
Netiquette - Posting tips in the Microsoft Word news groups
Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant
Page X of Y doesn't work in Microsoft Word!
Save Changes to the Global Template? Keeps Popping Up
Templates in Microsoft Word
Global Templates
Too Many Icons on the Taskbar in Microsoft Word 2000
Getting Rid of the Web Toolbar in Microsoft Word
Word for Word Perfect Users
Favorite Documents Menu
Work Menu in Microsoft Word
Templates Menu in Microsoft Word
What books have been recommended about Microsoft Word?
Where can I find more templates?
Word Links

(Completely off-topic but I like history)

 

 

This page last revised: 13 Jul 2006 07:21:33 -0500 .

How can I get rid of the web toolbar?

Web Toolbar - Not! in Microsoft Word

Why get rid of the web toolbar?

If you have to ask, you probably don't need to read this page. The web toolbar is a handy addition to Word, ... sometimes. It gives you Internet Explorer controls in your Word screen such as the previous/next buttons, home, and Favorites. It will display the full name and path for your document. 

Nevertheless, most of the time, it is of no use and takes up valuable screen space. So, most people click the close button to get rid of it. Next time they click on a hyperlink in a word document (such as the page number in a Table of Contents) - even though not a link to a web page - the web toolbar pops up again. And unlike the office assistant - it doesn't give up! As long as you can see "Web" in the list of available toolbars, you'll get to see this fellow whenever the folks at Microsoft thought it would be handy.

How to get rid of the web toolbar ...

There are four methods to be looked at. The first two use macros. If you don't know how to use macros like these, take a look at Macros and VBA.

Document-specific macro - put in "ThisDocument" object

The first is for a particular document. The second is global and gets rid of the Web toolbar until you take steps to revive it.

Method 1:


Use the VBA Editor to put this in the Document's code (in the ThisDocument object :

Private Sub Document_Open()
	On Error Resume Next
		Application.CommandBars("Web").Enabled = False
	On Error GoTo 0
End Sub

Private Sub Document_Close()
	On Error Resume Next
		Application.CommandBars("Web").Enabled = True
	On Error GoTo 0
End Sub

---------------------------------

Global - Get rid of the Web Toolbar in Word

Method 2 - kill the web toolbar:

Put the following code into an AutoExec macro in Normal.dot or some other global template:

Application.CommandBars("Web").Enabled = False

Keep in mind that this kills the web toolbar, which is something that I can live with. If you use this, be sure to leave yourself a note in numerous places on what it is you did so that if you ever want the thing you can get it back. I suppose the elegant solution would be to put a macro on the View toolbar to enable it. (The enabling macro says "true" instead of "false.") You could use the toggle macro below which takes whatever the current status is and switches it. It also makes the toolbar visible if you just enabled it.

You may want to put the following in your Normal.dot or another global as a toggle command:

Sub ToggleWebToolbarEnabled()
    With Application.CommandBars("Web")
        .Enabled = Not .Enabled
        If .Enabled = True Then
            .Visible = True
        End If
    End With
End Sub

See Template Basics for information about Normal.dot and other global templates.

For the Reviewing toolbar you would use the following macro instead:

Sub ToggleReviewingToolbarEnabled()
    With Application.CommandBars("Reviewing")
        .Enabled = Not .Enabled
        If .Enabled = True Then
            .Visible = True
        End If
    End With
End Sub

Method 3 - Add-In from this site

I've adapted Pieter Janssen's code to meet my own needs. Feel free to download and see if it works for you. You can download it from my downloads page.

Method 4 - Add-In from Pieter Janssen

I've created an add-in just for this purpose. you can download it from:

http://users.skynet.be/wordprogramming.be/ 

(right-click on disablewebbar.dot and save target to disk)

Link disabled because page is no longer available.

It adds a menu item called 'never show webbar' to the view menu.

If it is checked, the web-toolbar won't show up, if it's not, it will.

HTH, pieter. (Janssen)

See also MVP site: http://www.mvps.org/word/FAQs/MacrosVBA/BanishWebToolbar.htm 

 

Off-topic - but did you know that you can't record a macro using the web toolbar? A workaround is discussed at: http://support.microsoft.com/support/kb/articles/Q212/6/42.ASP 


Return to Questions List

 The up-to-date version of this FAQ may be found at:

http://www.addbalance.com/word/

Download this FAQ in Word 97 format

 

Send e-mail

Changes / suggestions / ideas can be sent to Charles Kenyon

Hit Counter views since 13 April 2004

Copyright 2000-2006 Charles Kyle Kenyon

FAQ provided as an adjunct / hobby as a part of my web site as a criminal defense lawyer.

 

Smile! Bumper stickers and jokes.

Using Date Fields in Microsoft Word
Calculated Dates
Booklet Formatting and Printing in Microsoft Word
Changing the Default Font in Microsoft Word
Document linked to Printer in Microsoft Word
Fonts Missing from Menu in Microsoft Word
How can I get a different header / footer on the second page?
More on Headers and Footers in Word
Letterhead
Weird Lines and Borders
Macros and VBA
Master Documents Feature in Microsoft Word
Moving (Sharing) Customizations in Microsoft Word
Global StyleSheet?
MVP means?
Naming Files - A System is the Key
Netiquette - Posting tips in the Microsoft Word news groups
Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant
Page X of Y doesn't work in Microsoft Word!
Save Changes to the Global Template? Keeps Popping Up
Templates in Microsoft Word
Global Templates
Too Many Icons on the Taskbar in Microsoft Word 2000
Getting Rid of the Web Toolbar in Microsoft Word
Word for Word Perfect Users
Favorite Documents Menu
Work Menu in Microsoft Word
Templates Menu in Microsoft Word
What books have been recommended about Microsoft Word?
Where can I find more templates?
Word Links

Click to return to table of contents page of Intermediate User's Guide to Microsoft Word.Click to go to Microsoft Word new users frequently asked questions site in a new browser window.
(Intermediate Users' Guide) - - - - - - - - - - - - - - - - - - -  (Questions List)

Home
Word Tutorial - Intermediate
Legal Users Guide to Word
Downloads
Books about Microsoft Word - Newsgroup suggestions
Links
Web Resources for Microsoft Word