XL98: UserForm Remains Displayed on Top of Module When Error Occurs (176009)



The information in this article applies to:

  • Microsoft Excel 98 Macintosh Edition

This article was previously published under Q176009

SYMPTOMS

When you receive a run-time error in a Visual Basic for Applications macro while a UserForm is visible, and you click Debug in the Microsoft Visual Basic window, the UserForm remains displayed in front of the module sheet.

WORKAROUND

To work around this problem, use the WindowShade feature that is provided by the Macintosh System software to hide the UserForm. To do this, double- click the title bar of the UserForm. The body of the UserForm window is hidden, but the title bar remains visible.

If you are using System 7.5 or later, and the UserForm window is not hidden when you double-click the title bar of the UserForm, the WindowShade feature has not been made available. To make the WindowShade feature available, use one of the following methods.

Method 1: Mac OS 8.0

To make this feature available, follow these steps:

  1. Point to Control Panels on the Apple menu, and then click Appearance.
  2. Click "Double-click title bar to collapse" if it is not already selected.
  3. Close the Appearance window.

Method 2: Macintosh System Software Versions 7.5.x, 7.6

To make this feature available, follow these steps:

  1. Point to Control Panels on the Apple menu, and then click WindowShade.
  2. Click "Clicks to hide or show window," and then close the WindowShade window.

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.

REFERENCES

For more information about handling errors in Visual Basic for Applications, click the Office Assistant in the Visual Basic Editor, type handling errors, click Search, and then click to view "Continue Code Execution."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

120802 Office: How to Add/Remove a Single Office Program or Component


Modification Type:MajorLast Reviewed:9/11/2002
Keywords:kbbug KB176009