Article ID: 331401 - View products that this article applies to.
This article was previously published under Q331401
Excel may stop repainting and stop responding to user events. This may occur when you use Visual Basic for Applications (VBA) in Microsoft Excel 2002. If you sink events for a COM component that raises those events asynchronously (from another thread or timer) and then you call Calculate on the Application or Worksheet object from the event, you may receive the following error message:
Microsoft Excel has encountered a problem and needs to close. We are sorry for the inconvenience.
The crash information reports one of the following crash addresses:
Module: EXCEL.EXE Version: 10.0.2614.0 Offset: 0x0001590b Module: EXCEL.EXE Version: 10.0.3506.0 Offset: 0x000ff708 Module: EXCEL.EXE Version: 10.0.4302.0 Offset: 0x00149a67
This problem typically occurs when Excel runs in the background, and a foreground window moves across the Excel window while Excel is in the process of calculation for a complex worksheet.
Excel stops responding when the calculation peeks messages from the message queue and then allows another asynchronous event to fire. This occurs even though Excel has not completed the previous COM event and calculation. The reentrant call may result in state corruption that may cause Excel to stop responding during the recalculation.
Service Pack InformationThis problem is corrected in Office XP Service Pack 3.To 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:
(http://support.microsoft.com/kb/307841/ )How to obtain the latest Office XP Service Pack
Hotfix InformationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
The English version of this fix should have the following file attributes or later:
Date Time Size File name ------------------------------------------------ 26-Nov-2002 03:27 6,663 Readme.txt 26-Nov-2002 03:17 12,885,592 Excel.msp 26-Nov-2002 04:00 15,005,792 Excelff.msp
Date Time Version Size File name --------------------------------------------------------- 25-Nov-2002 10:50 10.0.4721.0 9,177,672 Excel.exe
Microsoft 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 Office XP Service Pack 3.