Your Normal.dot file may increase in file size when you quit Word 2003 if a Word-specific add-in that contains a VBA macro is loaded when you start Word 2003 (873017)
The information in this article applies to:
- Microsoft Office Word 2003
SYMPTOMSIf a Microsoft Word-specific add-in that contains a Microsoft Visual Basic for Applications (VBA) macro is loaded when you start Microsoft Office Word 2003, your Normal.dot file may increase in file size when you quit Word 2003.
Note A Word-specific add-in is sometimes referred to as a global template.CAUSEThis problem may occur if the following conditions are true: - A Word-specific add-in in the Word Startup folder contains a VBA macro.
- The VBA macro adds a CommandBar item to a menu when Word 2003 starts, and then the macro removes the CommandBar item from the menu when you quit Word 2003.
WORKAROUNDTo work around this problem, create a global template and then load it in the Word Startup folder. In the VBA macro that adds the CommandBar item, use the VBA command customizationcontext to point to the template in the Word Startup folder instead of the Normal.dot file. For more information about the customizationcontext property, see the VBA Help file in Word. To access Visual Basic Help, in Word, point to Macro on the Tools menu, and then click Visual Basic Editor.
In Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu. Then, type customizationcontext in the Search for box in the Assistance pane, and then click Search. If you are not familiar with Visual Basic programming, there are resources that are available to help you.
For more information about some of the programming resources that are available, click the following article number to view the article in the Microsoft Knowledge Base:
826531
List of some programming resources for Visual Basic programming in Office 2003
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 7/27/2006 |
---|
Keywords: | kbtemplate kbAddIn kbProgramming kbAutomation kbprb KB873017 kbAudEndUser |
---|
|