Microsoft KB Archive/127202

= WD: GP Fault Exiting Windows with Linked Word Document =

Article ID: 127202

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Excel 5.0 Standard Edition
 * Microsoft Excel 5.0a
 * Microsoft Excel 5.0c
 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 95a

-



This article was previously published under Q127202



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.
 * 1) 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:

 On the File menu, click Templates. Click the Add button. 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. Repeat Step 3 for any additional templates. When you start Word and want to activate the templates, click Templates on the File menu. 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.

<ol style="list-style-type: lower-alpha;"> On the Tools menu, click Macro.</li> Choose Record. In the Make Macro Available To box, click All Documents (Normal.dot). Click OK.</li> On the File menu, click Templates.</li> Place a check mark next to those templates that you want to activate. Click OK.</li> On the Tools menu, click Macro. Click Stop Recording.</li> Select AutoExec.</li> Click Edit.</li> Delete the line that begins with "FileTemplates."</li> On the File menu, click Close.</li></ol>

When you are prompted to save changes to AutoExec, click "Yes."</li></ol>

<div class="status_section">

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: KB127202

-

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

© Microsoft Corporation. All rights reserved.