GP Fault in Header/Footer After Running ToolsSpelling in Macro

Last reviewed: October 8, 1997
Article ID: Q99980
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

SYMPTOMS

If you run a macro that performs the ToolsSpelling command, and if the spelling checker flags a misspelled word in the document header or footer, a general protection (GP) fault (or GPF) occurs in Word for Windows when you open the header or footer pane from normal view after the spelling check is complete. The GP fault may occur as soon as you open the header or footer for viewing, or it may not occur until you edit the header or footer.

STATUS

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

To obtain new or updated Microsoft products, call the Microsoft Sales Information Center at (800) 426-9400. If you are outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, call Microsoft International Customer Service at (425) 936-8661.

WORKAROUND

Instead of using the ToolsSpelling command in a macro, run the ToolsSpelling macro using the ToolsMacro command instead. You can use the following command in your macro in place of the ToolsSpelling command:

   ToolsMacro "ToolsSpelling", .Run

For more information on running the ToolsSpelling command from a macro, query on the following words in the Microsoft Knowledgebase:

   toolsspelling and macro

MORE INFORMATION

When you run the ToolsSpelling command from a macro, as described above, the GP fault occurs whether you choose one of the Change buttons or one of the Ignore buttons in the Spelling dialog box. Furthermore, the GP fault occurs regardless of whether the spelling checker runs in normal or page layout view. The error occurs only if you view or edit the header or footer in normal view after the spelling checker flagged a misspelled word in the header or footer.


KBCategory: kbproof
KBSubcategory:
Additional query words: GP Fault GPF error hang hung crash crashed
winword2 winword locks locked frozen freezes crashing quit quits stopped
2.0a 2.0a-
2.0b 2.0c


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.