XL2000: Excel Stops Responding When Printing If You Cancel WorkbookBeforePrint Application Event (284864)
The information in this article applies to:
This article was previously published under Q284864 For a Microsoft Excel 2002 version of this article, see 306646.
SYMPTOMS
When you print or print preview your workbook, you receive the following error message:
Excel.exe has generated errors and will be closed by Windows. You will need to restart the program.
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
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information about workbook and worksheet application events, click the article number below
to view the article in the Microsoft Knowledge Base:
213220 XL2000: Summary of Workbook and Worksheet Application Events
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbdtacode kberrmsg kbfix KB284864 |
---|
|