XL5: GP Fault Running Dialog with Mouse Cursor in Edit Box

Last reviewed: September 12, 1996
Article ID: Q120115
The information in this article applies to:
  • Microsoft Excel for Windows, version 5.0

SYMPTOMS

In Microsoft Excel, when you click the mouse cursor in an Edit box on a dialog sheet, and then run the dialog box, you receive a general protection (GP) fault if there is another open window that contains the dialog sheet.

CAUSE

This behavior only occurs if multiple windows of the workbook that contains the dialog box are open, you run the dialog box from a window other than the first window of the workbook, and the mouse cursor is in the Edit box when you run the dialog box. You receive the GP fault whether you run the dialog box by choosing the Run Dialog button from the Forms toolbar, or the Run Dialog command from the Tools menu.

Note that because you cannot run a macro while the mouse cursor is located within an Edit box, you cannot run a procedure to display the dialog box in this case. This is the correct behavior.

WORKAROUNDS

To avoid receiving a GP fault when you display a dialog box, select an item on the dialog sheet other than the Edit box before you run the dialog box.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0c for Windows.

Note that in Microsoft Excel version 5.0c, the Run Dialog command (Tools menu) is unavailable, and the Run Dialog Button (Forms toolbar) is unresponsive while your cursor is in an Edit box on a dialog sheet.


KBCategory: kbprg
KBSubcategory:

Additional reference words: 5.00 gpf grey gray greyed



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: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.