by Allen Wyatt
(last updated June 25, 2018)
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.
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.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Do you long for a way to reset Word to a "factory default" condition? It is almost impossible to get things to the way ...Discover More
Want to see font samples as you contemplate which fonts to use in your document? Word provides an easy way to do this.Discover More
Want to replace Word's internal commands with your own macros? It's easy to do if you know the key discussed in this tip.Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.