Microsoft KB Archive/265305

From BetaArchive Wiki
Knowledge Base


XL2000: Workbook Corrupted If You Delete, Copy, and Save in Macro Procedure

Article ID: 265305

Article Last Modified on 10/11/2006



APPLIES TO

  • Microsoft Excel 2000 Standard Edition



This article was previously published under Q265305

SYMPTOMS

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".

RESOLUTION

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 the Microsoft Knowledge Base:

276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack




CAUSE

Your workbook is corrupted. This problem may occur when you programmatically do the following in a single macro procedure:

  1. Delete a sheet that contains a control.
  2. Perform a Copy command in a sheet with the same name.
  3. Save the workbook.

The next time you try to open the workbook, you receive the error listed in the "Symptoms" section of this article.

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 2000 Service Pack 2.


Additional query words: hang hung crash

Keywords: kbbug kberrmsg kbfix kboffice2000presp2fix kboffice2000sp2fix kbqfe KB265305