XL2002: Excel Stops Responding When Printing If You Cancel WorkbookBeforePrint Application Event (306446)
The information in this article applies to:
This article was previously published under Q306446 For a Microsoft Excel 2000 version of this article, see 284864.
SYMPTOMS
When you print or print preview your workbook, you receive the following error message:
Microsoft Excel has encountered a problem and needs to close. We are sorry for the inconvenience.
When you click OK, Excel quits.
CAUSE
This problem occurs when you create procedures for either of the following Microsoft Visual Basic for Applications events, and set the Cancel argument to True:
- The WorkbookBeforePrint event of the Application object
-or- - The BeforePrint event of the Workbook object
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft Office XP. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
307841 OFFXP: How to Obtain the Latest Office XP Service Pack
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office XP Service Pack 1.REFERENCESFor additional information about workbook and worksheet application events, click the article number below
to view the article in the Microsoft Knowledge Base:
291294 XL2002: Summary of Workbook and Worksheet Application Events
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbdtacode kberrmsg kbfix kbOfficeXPsp1Fix KB306446 |
---|
|