Microsoft KB Archive/918064

= You are prompted to save the changes to the global template every time that you exit Word 2007 =

Article ID: 918064

Article Last Modified on 11/27/2007

-

APPLIES TO


 * Microsoft Office Word 2007

-





SUMMARY
''This article contains workarounds for an issue in which you are always prompted to save the changes to the global template, Normal.dotm, when you exit Microsoft Office Word 2007. First, you can turn off the Prompt before saving Normal template option. However, when you do this, Word 2007 will not prompt you when it automatically saves the changes the global template. You may still have an issue. Second, you can remove any add-ins or templates that may be changing the global template. Third, you can help protect the computer from macro viruses that change the global template.''



SYMPTOMS
Every time that you exit Microsoft Office Word 2007, you receive the following message:

Changes have been made that affect the global template, Normal.dotm. Do you want to save those changes?



CAUSE
This issue may occur if any one of the following conditions is true:  The Prompt before saving Normal template option is turned on. An add-in or a macro that is changing the global template is installed on the computer. For example, this issue may occur the following add-in is installed on the computer:  Stamps.com Internet postage

An add-in may add one or more of the following items to the computer:  A .wll file A template</li> A COM add-in</li> An automatic macro</li></ul> </li> The computer is infected with a macro virus that changes the global template (Normal.dotm).</li></ul>

<div class="workaround_section">

WORKAROUND
To work around this issue, use one or more of the following workarounds.

Workaround 1: Turn off the &quot;Prompt before saving Normal template&quot; option
To work around this issue if the Prompt before saving Normal template option is turned on, follow these steps.

Note If you turn off this option in Word 2007, changes may still be made to the global template. However, you will not be prompted to save these changes. We recommend that you perform the other workarounds that are mentioned later in this article.
 * 1) Click the Microsoft Office Button, and then click Word Options.
 * 2) Click Advanced.
 * 3) Under Save, click to clear the Prompt before saving Normal template check box.
 * 4) Click OK to close the Word Options dialog box.

Workaround 2: Remove add-ins or macros that are changing the global template
To work around this issue if add-ins or macros that are changing the global template are installed on the computer, use one of the following methods.

Method 1: Remove .wll add-ins and templates from the Word 2007 Startup folder and from the Office Startup folder
When you start Word 2007, Word 2007 automatically loads templates and add-ins that are located in the Office Startup folder and in the Word Startup folder. You may experience the issue that is described in the &quot;Symptoms&quot; section if conflicts or problems occur with one of these items. To determine whether an item in a Startup folder is causing the issue, temporarily empty the folder. To do this, follow these steps: <ol> Exit all instances of Word 2007. If you use Word 2007 as your e-mail editor in Microsoft Outlook, make sure that you also exit Outlook.</li> On the desktop, double-click My Computer, and then open the Office Startup folder. By default, the Office Startup folder is at the following location:

C:\Program Files\Microsoft Office\Office12\Startup

</li> Drag each item from the Office Startup folder to the desktop. Or, create a folder on your desktop, and then drag each item to this new folder.

Note To create a new folder on the desktop, right-click a blank area on the desktop, point to New, and then click Folder.</li> Open the Word Startup folder. By default, the Word Startup folder is at the following location:

C:\Documents and Settings\ \Application Data\Microsoft\Word\Startup

</li> Drag each item from the Word Startup folder to the desktop. Or, create a folder on your desktop, and then drag each item to this new folder.</li> Start Word 2007.</li></ol>

If you can no longer reproduce the issue after you removed multiple items from the Office Startup folder and from the Word Startup folder, add the files back to the appropriate Startup folder one at a time to isolate the issue. Try to reproduce the issue after you add each file to find the file that causes the issue.

Method 2: Remove COM add-ins
COM add-ins can be installed in any location. COM add-ins are installed by programs that interact with Word 2007. To view the list of COM add-ins that are installed on the computer, follow these steps:
 * 1) Click the Microsoft Office Button, and then click Word Options.
 * 2) Click Add-Ins.
 * 3) Under Manage, click COM Add-ins, and then click Go.

The COM Add-Ins dialog box appears.

If add-ins are listed in the COM Add-Ins dialog box, temporarily turn off each add-in. To do this, click to clear the check box for each COM add-in that is listed, and then click OK. When you restart Word 2007, the COM add-ins that you turned off are not loaded. If the issue is resolved after you turn off the COM add-ins, one of these COM add-ins is causing this issue. To determine the add-in that is causing the issue, turn on the COM add-ins one at a time, and then restart Word 2007.

Method 3: Remove Word 2007 automatic macros
Automatic macros run when you start Word 2007 or when you perform a specific action in Word 2007. The following table lists the Word 2007 automatic macros:

To determine the automatic macros that you should remove, temporarily stop Word 2007 automatic macros from running. To temporarily stop the AutoExec macro from running, click Start, point to All Programs, hold the SHIFT key, and then click Microsoft Word 2007. To stop any one of the other macros that are listed in this table, hold SHIFT when you perform the action that causes the macro to run.

To remove an automatic macro, follow these steps: <ol> Start Word 2007.</li> On the Developer tab, in the Code group, click Macros.

Note If the Developer tab does not appear, follow these steps: <ol style="list-style-type: lower-alpha;"> Click the Microsoft Office Button, and then click Word Options.</li> Click Personalize.</li> Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.</li> Click OK to close the Word Options dialog box.</li></ol> </li> In the Macros dialog box, remove any macro whose name starts with &quot;Auto&quot;. To remove an automatic macro, click the macro, and then click Delete.

Note An automatic macro may have been added by a Word 2007 add-in. To determine whether a template contains an automatic macro, click each template in the Macros in box. When you do this, the macros that are in the template are listed. If you determine that a template contains an automatic macro, you may want to remove this template from your computer. If you remove a template that was added by a Word 2007 add-in, the functionality of the add-in may be affected.</li> <li>Click Cancel to close the Macros dialog box.</li> <li>Click the Microsoft Office Button, and then click Exit Word.</li></ol>

If the issue is resolved after you restart Word 2007, one of the automatic macros was causing the issue.

Workaround 3: Help prevent a macro virus from infecting the computer
To work around this issue if the computer is infected with a macro virus, use one or more of the following methods.

Method 1: Install and update antivirus software
For a long-term strategy to help prevent macro viruses, install antivirus software that is designed specifically to detect macro viruses.

Note After you install an antivirus software program, you must keep it updated to make sure that new macro viruses are detected and removed. For more information about how to update your antivirus software program, contact your antivirus software vendor. For information about how to contact your antivirus software vendor, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and software vendor contact information, A-K

60781 Hardware and software vendor contact information, L-P

60782 Hardware and software vendor contact information, Q-Z

For more information about macro viruses, visit the following Microsoft Web site:

http://office.microsoft.com/en-us/assistance/HA011030691033.aspx

Method 2: Configure a macro setting in Word 2007
Word 2007 includes the following macro settings to help reduce the chances that a macro virus will infect documents, templates, or add-ins:
 * Disable all macros without notification
 * Disable all macros with notification

Note This setting is the default setting.
 * Disable all macros except digitally signed macros
 * Enable all macros (not recommended, potentially dangerous code can run)

To change the macro setting in Word 2007, follow these steps: <ol> <li>On the Developer tab, in the Code group, click Macro Security.

Note If the Developer tab does not appear, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click the Microsoft Office Button, and then click Word Options.</li> <li>Click Personalize.</li> <li>Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.</li> <li>Click OK to close the Word Options dialog box.</li></ol> </li> <li>Click Macro Settings.</li> <li>Under Macro Settings, click one of the following macro settings for documents that are not in a trusted location: <ul> <li>Disable all macros without notification</li> <li>Disable all macros with notification</li> <li>Disable all macros except digitally signed macros</li> <li>Enable all macros (not recommended, potentially dangerous code can run)</li></ul> </li> <li>Click OK to close the Trust Center dialog box.</li></ol>

Method 3: Lock the global template
When you lock the global template and create a password, you can help reduce the chances that a macro virus will gain unauthorized access to the computer.

To lock the global template, follow these steps: <ol> <li>On the Developer tab, in the Code group, click Visual Basic.

Note If the Developer tab does not appear, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click the Microsoft Office Button, and then click Word Options.</li> <li>Click Personalize.</li> <li>Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.</li> <li>Click OK to close the Word Options dialog box.</li></ol> </li> <li>In Visual Basic Editor, click This Document in the Project window.

Note If the Project window does not appear, click Project Explorer on the View menu.</li> <li>On the Tools menu, click Project Properties.</li> <li>Click the Protection tab, click to select the Lock project for viewing check box.</li> <li>In the Password box, type a password. Then, type the same password in the Confirm password box.</li> <li>Click OK to close the Project Properties dialog box.</li> <li>On the File menu, click Close and return to Microsoft Word.</li> <li>Click the Microsoft Office Button, and then click Exit Word.

When you receive the following message, click Yes:

Changes have been made that affect the global template, Normal.dotm. Do you want to save those changes?

</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: word2007 word2k7 word12 wd2007 wd2k7 wd12

Keywords: kberrmsg kbtshoot kbmacro kbaddin kbtemplate kbvirus kbautomation kbprb kbvba kbstartprogram kbexpertisebeginner kbproductlink KB918064

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.