OFF98: Type 2 Error Occurs When Showing UserForms (223317)
The information in this article applies to:
- Microsoft Office 98 Macintosh Edition
This article was previously published under Q223317 SYMPTOMS
When you show a UserForm, you may receive the following error message
The application "program name" has unexpectedly quit, because an error of type 2 occurred.
You should save your work in other open applications and restart the computer.
where program name is the Microsoft Office program you are currently using. When you click OK, the program shuts down. NOTE: Microsoft Excel may expectedly quit without displaying any error messages.
CAUSE
This problem occurs when one of the following conditions is true:
- You programmatically set the Autosize property to True for a UserForm control from the Toolbox.
-or-
- You programmatically set the Autosize property to True for a bitmap image that the LoadPicture method is loading onto the UserForm.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/2/2002 |
---|
Keywords: | kbbug kbProgramming KB223317 |
---|
|