GP Fault Exiting Windows with Linked Word Document

ID: Q127202


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Excel for Windows, versions 5.0, 5.0a, 5.0c
  • Microsoft Excel for Windows 95, versions 7.0, 7.0a


SYMPTOMS

When you exit Windows after closing a Microsoft Excel document that is linked to a Word document, you may receive the following error message:

WinWord caused a General Protection Fault in module: WINWORD.EXE at 0025:0A70


CAUSE

This problem occurs when your worksheet contains a document that was linked from Word, and your Word Startup directory contains a template. Word is activated and kept hidden when you open the Microsoft Excel file, and it is still running when you exit Microsoft Excel and Windows.


WORKAROUND

To work around this problem, use any of the following methods.

Method 1: Use the following steps to close Word manually:

  1. Select the Word document object in the Microsoft Excel worksheet.


  2. On the Edit menu, click Links.


  3. Click Open.

    This step activates Word.


  4. On the File menu in Word, click Exit.

    After you answer the question about whether or not you want to save the changes to the document, you are returned to Microsoft Excel. You can now safely exit Microsoft Excel.


Method 2: Remove the template or templates from your Startup directory. Move them to another directory, such as the Template directory. You can make them available at any time by clicking Template on the File menu, selecting the templates that you want to activate, and choosing OK.

Method 3: Make the template global with the following steps:

  1. On the File menu, click Templates.


  2. Click the Add button.


  3. If you have moved your templates to a location other than the Template directory, locate the desired templates. Select the template you want to make global. Choose OK.


  4. Repeat Step 3 for any additional templates.


  5. When you start Word and want to activate the templates, click Templates on the File menu.


  6. To automate this process, record a macro. Save the macro in the Normal.dot file and name the macro AutoExec. Note that a document based on Normal.dot must be open for you to properly record these steps in the macro.

    1. On the Tools menu, click Macro.


    2. Choose Record. In the Make Macro Available To box, click All Documents (Normal.dot). Click OK.


    3. On the File menu, click Templates.


    4. Place a check mark next to those templates that you want to activate. Click OK.


    5. On the Tools menu, click Macro. Click Stop Recording.


    6. Select AutoExec.


    7. Click Edit.


    8. Delete the line that begins with "FileTemplates."


    9. On the File menu, click Close.


    When you are prompted to save changes to AutoExec, click "Yes."



STATUS

Microsoft has confirmed this to be a problem in the Word versions listed above. This problem was corrected in Microsoft Word 97 for Windows.

Additional query words: 6.00a 6.00c winword gpf gf fault 7.00a word7 8.00 word8 word97

Keywords : xlwin
Version : WINDOWS:5.0,5.0a,5.0c,6.0,6.0a,6.0c,7.0,7.0a; Win95:7.0,7.0a
Platform : Win95 WINDOWS
Issue type :


Last Reviewed: November 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.