I periodically have different users call up and say that they have the VBE window appear while running a macro.
When I look at their monitor, the syntax line it stopped at is highlighted in yellow, as if a breakpoint had been set there.
They will either get no message at all or 'excecution interrupted' dialog box. They do not get the 'End' 'Debug' dialog box that normally appears when an error occurs.
They have not pressed the 'Esc' or 'Ctrl-Break' keys either to pause the macro.
If the F5 (Run Sub/Userform) key is pressed, excecution continues and finishes normally.
If Excel is restarted and the macro is re-run, the code breaks at the same point in the code.
If the PC is rebooted, the macro then runs normally for a number of days or weeks depending on how frequently they run the macro.
This happens to different macros on different PC's, and usually having the user reboot weekly prevents the issue from reoccuring.
Recently one user continues to have the problem even after rebooting. So I am looking for advice.
As a point of reference most of the PC's are running Excel 2003 (no 2007) on Windows XP SP3; 'Tools-Options' is set to 'Break on Unhandled Errors'