The information in this article applies to:
SYMPTOMSIn Microsoft Project, if you use the Replace dialog box while you are debugging a macro in the Debug window, you may receive a general protection (GP) fault. CAUSE
This behavior occurs when you use the Step Into command or a Stop statement
in your macro to display your macro in the Debug window. When your macro is
displayed in the Debug window under these conditions, the Replace command
is not available on the Edit menu. This is by design. However, if you
choose Find from the Edit menu, the Replace button is available. If you use
the Replace button to replace text in your macro while it is displayed in
the Debug window, you receive a GP fault.
WORKAROUNDSTo use the Replace feature in Microsoft Project to replace text in your macro, view your macro in the normal editing mode, not in the Debug window, and then use the Replace command to replace the desired text. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONNote that when you modify the text in your macro while you are debugging the macro (that is, you used the Step Into command or a Stop statement in your macro to display the Debug window), you receive the following message: However, when you display your macro in the Debug window by choosing Debug Window from the View menu, you can edit the text in the macro without receiving this message. REFERENCESFor more information about the Debug Window or Debugging, choose the Search button in the Visual Basic Reference and type: debugging Additional query words: gpf
Keywords : kbcode kbprg |
Last Reviewed: October 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |