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

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.

Additional query words: gpf grey gray greyed

Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :


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