Microsoft KB Archive/172614

From BetaArchive Wiki

Article ID: 172614

Article Last Modified on 10/11/2006


  • Microsoft Office 97 Standard Edition

This article was previously published under Q172614


If you add a watch for the Me keyword in a document project in the Microsoft Visual Basic Editor and you attempt to reset the project while you are in debug mode, one of the following error messages appears.

Microsoft Windows 95

The program has performed an illegal instruction and will be terminated.

Microsoft Windows NT

Excel.exe - Application Error
The instruction at "0x0014011" referenced memory at "0x15609100."
The memory could not be "written."
Click OK to terminate the Application.


This problem occurs when the following conditions are true:

  • In the Visual Basic Editor, you set a watch on the Me keyword in a document project item. -and-

  • The Visual Basic Editor is in debug mode. -and-

  • You attempt to reset the project.


It is not necessary to place a watch on the Me keyword in an item in a document project. The Me keyword is used in class modules to distinguish between different instances of a class. You do not need to use the Me keyword to distinguish between different items in a document project because the items are not created dynamically and the items are each identified by an unique name.

Keywords: kberrmsg kbprb kbprogramming KB172614