Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Suppressing the Control Toolbox Toolbar

Summary: If the Control Toolbox keeps appearing when you open a document, it can be bothersome. This tip explains why this may happen and what you can do to get rid of the toolbox, once and for all. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

Have you ever used Word to open a document and had the Control Toolbox appear right away? How about running a macro and having the Control Toolbox appear? Various people have reported this behavior in Word, and it can be very frustrating.

One possible cause for the Control Toolbox popping up is that one or more components in the macros attached to the document (or a template used by the document) have open designers associated with them. A designer is nothing but a visual design window used within the VBE to design new forms, classes, or other objects used in a VBA project. It is possible for designers to be open and associated with a project, but not be visible. When this happens, the Control Toolbox is displayed, even though the designer window is not.

To solve this situation, you should make sure that all designers are closed and then save the document or template. You can close all the designers by running the following macro:

Sub CloseDesignWindows()
    Dim K As Long
    With ActiveDocument.VBProject
        For K = 1 To .VBComponents.Count
            With .VBComponents(K)
                If .HasOpenDesigner Then .DesignerWindow.Close
            End With
        Next
    End With
End Sub

Just run the macro right before you save the document or template.

Tip #1596 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

Add a Professional Finishing Touch! Word includes great tools that allow you to add professional-grade finishing touches to your documents. You can add indexes, tables of contents, and other special tables by using the detailed information available in this volume.
 
Check out WordTips: Indexes and Special Tables today!