Microsoft KB Archive/217724

= OFF2000: Program Shuts Down After Referencing Document =

Article ID: 217724

Article Last Modified on 10/11/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q217724



SYMPTOMS
When you try to create a reference in Microsoft Visual Basic, one of the following problems occurs depending on the program you are running.

Microsoft Word
The following error message appears:

This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.

If you click Details, an error message similar to the following appears:

Winword caused an invalid page fault in module Mso9.dll at 015f:308c9c03.

When you click Close, the program shuts down.

Microsoft Excel
The following error message appears:

Can't quit at this time.

When you click OK, the program shuts down.



CAUSE
This problem occurs in the Office programs listed at the beginning of this article when you follow these steps:
 * 1) Open a document that contains Visual Basic macros and click Disable Macros.
 * 2) Attempt to create a reference to another Office document using the References dialog box in Microsoft Visual Basic.
 * 3) Click Disable Macros for the new document.
 * 4) Close the Office program.



WORKAROUND
In order to create a reference from one Office document to another, you need to enable macros in the host document. To enable macros, when you open the document, click Enable Macros instead of Disable Macros. If you do not see this option when opening your files, follow these steps to change the macro security:
 * 1) On the Tools menu, point to Macro and click Security.
 * 2) In the Security dialog box, click Medium and click OK.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: OFF2000 IPF GPF Mso9 dll

Keywords: kbbug kberrmsg kbpending KB217724

-

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

© Microsoft Corporation. All rights reserved.