|
This page last revised: 13 Jul 2006 07:21:33 -0500 . How can I get rid of the web toolbar?
Why get rid of the web toolbar?
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
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
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()
Method 3 - Add-In from this siteI'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 JanssenI'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.
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 The up-to-date version of this FAQ may be found at: Download this FAQ in Word 97 format
Changes / suggestions / ideas can be sent to Charles Kenyon.
|
|
Copyright 2000-2006 Charles Kyle Kenyon
FAQ provided as an adjunct / hobby as a part of my web site as a
criminal defense lawyer.
|