Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Standardizing Note Reference Placement
Selecting Printing of Color Pictures
Moving Rows and Columns With the Mouse
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
Take Control! Master the real power behind Word! Successfully master the secrets of powerful formatting and create documents that stand out from the rest. Best of all, you can create documents that are easy to maintain and quick to change.