Microsoft KB Archive/176009

= XL98: UserForm Remains Displayed on Top of Module When Error Occurs =

Article ID: 176009

Article Last Modified on 9/11/2002

-

APPLIES TO


 * Microsoft Excel 98 for Macintosh

-



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.

