OFF97: Resetting Project with Watch on Me Causes Crash

ID: Q172614


The information in this article applies to:
  • Microsoft Office 97 for Windows


SYMPTOMS

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.


CAUSE

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.



MORE INFORMATION

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.

Additional query words:

Keywords : kberrmsg kbprg xlvbainfo
Version : :
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 19, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.