Unchanging Toolbars

Written by Allen Wyatt (last updated November 20, 2021)
This tip applies to Word 97, 2000, 2002, and 2003


If you use Word in a training environment, or on a group of computers used by many different people, you may need a way to make sure that the toolbars always return to their default condition. For instance, if one user rearranges the toolbars, you might want them returned to their default condition before the next user starts the program.

There are a couple of ways to handle this situation. Perhaps the easiest approach is to simply make the Normal.dot template file read-only. Since toolbar settings are stored in the template, this will help for many of the toolbars. However, if you use a different template, it is possible that the toolbars will be changed when using those templates. Also, this won't work if you want to allow other changes to the template.

Another solution is to create a macro that will reset your toolbars to their default state. This is a fairly simple macro to create. (If you are training people on how to program in Word, you may even want to make the macro the subject of a class assignment.) The following macro can be stored in your template, and since it is run every time a document is opened, it will reset your toolbars to their default condition:

Sub AutoOpen
For Each cb In CommandBars
    cb.Reset
Next
End Sub

If you need greater control over the toolbars, including resetting where they are placed, you can use a macro something like this:

Private Sub Document_New()
    CommandBars("Formatting").Protection = msoBarNoCustomize + \
       msoBarNoChangeVisible + msoBarNoMove
End Sub

This macro should be placed in the ThisDocument module of Normal.dot. This particular example only protects the Formatting toolbar, but you could quickly adapt it to the other toolbars you want protected.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1335) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Searching for Multi-Byte Hex Codes

Need to find a character for which you only know the hex code? There are a few ways you can search for the information, ...

Discover More

Excel Custom Formats (Special Offer)

Excel Custom Formats gets you to the heart of Excel's formatting power. This special offer provides another way to ...

Discover More

Viewing Files of a Certain Type

When you choose to open a file, Word normally displays only those files that end with the .DOCX or .DOCM extensions. If ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (menu)

Changing Measurement Units

When working in Word's dialog boxes, most people understand that you should enter measurements using inches. If you don't ...

Discover More

Controlling Scroll Bars

Scroll bars are helpful if you have a document that won't fit entirely within the program window. Here's how to turn off ...

Discover More

Changing Color of the Insertion Point

In your quest to customize Word, you may change the colors used to display your document. After doing so, it may become ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 + 1?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.