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



The information in this article applies to:

  • Microsoft Office Word 2007

Beta Information

This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.

No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location where you downloaded the release.

SUMMARY

This article contains workarounds for an issue in which you are always prompted to save the changes to the global template, Normal.dot, 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
    • A COM add-in
    • An automatic macro
  • The computer is infected with a macro virus that changes the global template (Normal.dotm).

WORKAROUND

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

Workaround 1: Turn off the "Prompt before saving Normal template" 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 "Symptoms" 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:
  1. 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.
  2. 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

  3. 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.
  4. Open the Word Startup folder. By default, the Word Startup folder is at the following location:

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

  5. 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.
  6. Start Word 2007.
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:
MacroStorage locationAction
AutoExecIn the Normal template or in a global add-inRuns when you start Word 2007
AutoNewIn a templateRuns when a new document that is based on the template is created
AutoOpenIn a document or in a templateRuns when a document that is based on the template or that contains the macro is opened
AutoCloseIn a document or in a templateRuns when a document that is based on the template or that contains the macro is closed
AutoExitIn the Normal template or in a global add-inRuns when you exit Word 2007
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:
  1. Start Word 2007.
  2. On the Developer tab, in the Code group, click Macros.

    Note If the Developer tab does not appear, follow these steps:
    1. Click the Microsoft Office Button, and then click Word Options.
    2. Click Personalize.
    3. Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.
    4. Click OK to close the Word Options dialog box.
  3. In the Macros dialog box, remove any macro whose name starts with "Auto". 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.
  4. Click Cancel to close the Macros dialog box.
  5. Click the Microsoft Office Button, and then click Exit Word.
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:

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:
  1. On the Developer tab, in the Code group, click Macro Security.

    Note If the Developer tab does not appear, follow these steps:
    1. Click the Microsoft Office Button, and then click Word Options.
    2. Click Personalize.
    3. Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.
    4. Click OK to close the Word Options dialog box.
  2. Click Macro Settings.
  3. Under Macro Settings, click one of the following macro settings for documents that are not in a trusted location:
    • Disable all macros without notification
    • Disable all macros with notification
    • Disable all macros except digitally signed macros
    • Enable all macros (not recommended, potentially dangerous code can run)
  4. Click OK to close the Trust Center dialog box.

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:
  1. On the Developer tab, in the Code group, click Visual Basic.

    Note If the Developer tab does not appear, follow these steps:
    1. Click the Microsoft Office Button, and then click Word Options.
    2. Click Personalize.
    3. Under Top options for working with Word, click to select the Show Developer tab in the Ribbon check box.
    4. Click OK to close the Word Options dialog box.
  2. 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.
  3. On the Tools menu, click Project Properties.
  4. Click the Protection tab, click to select the Lock project for viewing check box.
  5. In the Password box, type a password. Then, type the same password in the Confirm password box.
  6. Click OK to close the Project Properties dialog box.
  7. On the File menu, click Close and return to Microsoft Word.
  8. 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?

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.

Modification Type:MinorLast Reviewed:9/26/2006
Keywords:kbvirus kbtemplate kbAutomation KbVBA kbAddIn kbmacro kbstartprogram kberrmsg kbExpertiseBeginner kbprb KB918064 kbAudEndUser