XL2002: Excel Quits Unexpectedly When You Insert Object into the Worksheet (312949)



The information in this article applies to:

  • Microsoft Excel 2002

This article was previously published under Q312949

SYMPTOMS

When you attempt to insert an object in Microsoft Excel (click Object on the Insert menu), you receive the following error message
The instruction at address references memory at address.

The memory could not be written
where address is a hexadecimal number such as 0x01D3C839.

When you click OK, Excel quits.

CAUSE

This problem may occur if too many ActiveX controls are registered. When you attempt to insert an object, Excel enumerates the HKEY_CLASSES_ROOT registry key to obtain the list of possible objects, but the number of registered objects exceeds the limit in Excel.

RESOLUTION

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:

307841 OFFXP: How to Obtain the Latest Office XP Service Pack

The English version of this fix should have the following file attributes or later:
   Date         Time     Version       Size     File name     
   ------------------------------------------------------
   18-OCT-2001  14:38    10.0.3416.0   8.74MB   Excel.exe
   08-SEP-2001  17:28    10.0.3207.0   2.04MB   Graph.exe
				

STATUS

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 Microsoft Office XP Service Pack 1.

Modification Type:MinorLast Reviewed:9/27/2006
Keywords:kbbug kbfix kbOfficeXPsp1Fix KB312949