XL2000: Workbook Corrupted If You Delete, Copy, and Save in Macro Procedure
This article was previously published under Q265305
This article has been archived. It is offered "as is" and will no longer be updated.
You may receive the following error message when you open a workbook:
The instruction at "0x3005ca13" referenced memory at "0x00000018". The memory could not be "written".
To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
OFF2000: How to Obtain the Latest Office 2000 Service Pack
Your workbook is corrupted. This problem may occur when you programmatically do the following in a single macro procedure:
- Delete a sheet that contains a control.
- Perform a Copy command in a sheet with the same name.
- Save the workbook.
The next time you try to open the workbook, you receive the error listed in the "Symptoms" section of this article.
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 2000 Service Pack 2.
hang hung crash
Article ID: 265305 - Last Review: 10/20/2013 21:57:13 - Revision: 4.3
- Microsoft Excel 2000 Standard Edition
- kbnosurvey kbarchive kbbug kberrmsg kbfix kboffice2000presp2fix kboffice2000sp2fix kbqfe KB265305