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 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 go directly to the start of this topic.

You can read the editor's regular Word column in All 'Bout Computers.

Note: This is a backup site for addbalance.com. I have been experiencing problems with my web host Beach Computers which I hope will be resolved in the near future. Currently my site is being hosted on a temporary server. My hosting company, Beach Computers, is trying really hard and posts regular messages explaining how hard their staff is trying and detailing some of the problems caused by Qwest bumbling. This backup site can be found at kenyonck.addr.com. Sorry for any inconvenience. 

This is my old site (where the host has gone out of business) but you may want to bookmark it or add it to your favorites just in case. It is not a "mirror" site so it is not normally kept up to date and my ability to update it may become nonexistent. However, when problems are experienced on my main site, I try to bring it up-to-date very quickly.

Microsoft Word Legal Users Guide ] Web resources for Microsoft Word ] Book Recommendations about Word. ] Downloads for Microsoft Word ] MVP Word FAQ ] MVP means? ] Netiquette - Posting tips in the Microsoft Word news groups ]

FAQ Questions

Templates in Microsoft Word ] Document linked to Printer ] Headers and Footers in Microsoft Word ] Changing the Default Font in Microsoft Word ] Page X of Y doesn't work in Microsoft Word! ] Using Date Fields in Microsoft Word ] Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant ] Fonts Missing from Menu in Microsoft Word ] Word for Word Perfect Users ] Master Documents Feature in Microsoft Word ] Work Menu in Microsoft Word ] A Templates Menu in Microsoft Word ] Booklet Formatting and Printing in Microsoft Word ] Weird Lines and Borders in Microsoft Word ] Oops! Common Errors made in using Microsoft Word ] Macros and VBA ] [ Getting Rid of the Web Toolbar in Microsoft Word ] Too Many Icons on the Taskbar in Microsoft Word 2000 ]

This page last revised: 16 Aug 2001 02:30:00 -0500 .

How can I get rid of the web toolbar?

There are three methods to be looked at:

 

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 global templates.


Method 3 - 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)

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 28 June 2001

Flying Pillcrow - trademark of ADD Balance Microsoft Word Information

Copyright 2000, 2001 Charles Kyle Kenyon, DePere, Wisconsin

This FAQ is available on CD-ROM for a nominal charge
(with lots of other great stuff!). 

Ordering Information

Home ] Microsoft Word Legal Users Guide ] Web resources for Microsoft Word ] Book Recommendations about Word. ] Downloads for Microsoft Word ] MVP Word FAQ ] MVP means? ] Netiquette - Posting tips in the Microsoft Word news groups ]

FAQ Questions

Templates in Microsoft Word ] Document linked to Printer ] Headers and Footers in Microsoft Word ] Changing the Default Font in Microsoft Word ] Page X of Y doesn't work in Microsoft Word! ] Using Date Fields in Microsoft Word ] Getting rid of that (*)#"@^ paperclip! - Taming the Office Assistant ] Fonts Missing from Menu in Microsoft Word ] Word for Word Perfect Users ] Master Documents Feature in Microsoft Word ] Work Menu in Microsoft Word ] A Templates Menu in Microsoft Word ] Booklet Formatting and Printing in Microsoft Word ] Weird Lines and Borders in Microsoft Word ] Oops! Common Errors made in using Microsoft Word ] Macros and VBA ] [ Getting Rid of the Web Toolbar in Microsoft Word ] Too Many Icons on the Taskbar in Microsoft Word 2000 ]

About the editor of this FAQ - Charles Kyle Kenyon

My personal home page.