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:

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.

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

Last Reviewed: April 16, 1998