XL98: Macro Error Message Appears Behind MS Excel 5.0 Dialog

Last reviewed: February 11, 1998
Article ID: Q180861
The information in this article applies to:
  • Microsoft Excel 98 Macintosh Edition

SYMPTOMS

In Microsoft Excel 98 Macintosh Edition, if you click a button in a custom dialog box, and a macro error occurs in the macro assigned to the button, the error message dialog box may appear behind the custom dialog box.

As a result, you may not realize that you have received a macro error if the dialog box is so large that it obscures the error message dialog box.

CAUSE

This problem occurs if the custom dialog box is contained in an MS Excel 5.0 Dialog sheet.

NOTE: This problem does not occur in Microsoft Excel 97 for Windows.

RESOLUTION

If you use a custom UserForm rather than an MS Excel 5.0 Dialog sheet, this problem will not occur. When an error occurs, macro error messages always appear in front of UserForms.

If you are unable to click the buttons in the error message dialog box, you can use the following keystrokes to activate the buttons:

   Keystroke   Button
   -------------------------------------------

   c           Continue (not always available)
   e           End
   d           Debug
   h           Help

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: XL98 wlm sdm
Keywords : xlui xlvbainfo
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug


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