How to stop the web toolbar from jumping up at you whenever you click on a page number in the table of contents

Article contributed by Beth Melton and Dave Rado

Unfortunately, a developer at Microsoft thought it would be a great help to users if the web toolbar jumped up at them every time any sort of hyperlink was clicked on, including cross-references, and the page numbers in the table of contents. By the time he'd sobered up, it was too late to change it.

But fortunately, you can disable this feature forever, simply by running the following macro once.

If you ever want the toolbar to come back, you can change the macro as indicated in the comments below and run the macro again.

Public Sub BanishWebToolbar()

CommandBars("Web").Enabled = False
 'Change 'False' to 'True' to re-enable the Toolbar

End Sub

There are a couple of buttons on the Web Toolbar that some people do find useful; the Back button, and the Address bar.

In the case of the Back button, you can use the keyboard shortcut (Alt + Left Arrow), instead, which is much faster than using the button; or if you really want to keep the button, drag it to another toolbar (either select Tools + Customize first, or hold the Alt key down while you drag it) before disabling the Web one.

In the case of the Address bar, you can drag it to your  Menu bar, where there is plenty of room for it.

Note: A few people have found that the toolbar reappears again when they restart Word. Why this happens to some people and not others is a mystery, but you can prevent it from happening by putting an Autoexec macro into an add-in, or into Normal.dot, as follows:

Sub AutoExec()
    CommandBars("Web").Enabled = False
End Sub


Click to view Terms of Use page

Click to view Disclaimer page