Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
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
Setting Fraction Bar Overhang Spacing in the Equation Editor
Printing On Both Sides of the Paper
Turning Off AutoComplete for Dates
Understanding Auto Line Spacing
Adding Comments to Your Document
Conditional Calculations in Word
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.