RE: Excel 2002 debug prompt for all macros

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thomas -

It is a Visual Basic window and the message is "Code Execution has been
interrupted." It then has a button below that is Debug. The user can choose
debug and then step through the macro and it finishes fine. I did just find
out that in a terminal emmulation application we run, the user presses
CTRL+BREAK. If she runs the macro before opening the terminal emmulation
application and pressing CTRL+BREAK her macros work fine. Anytime after she
presses CTRL+BREAK in our
terminal emmulation program, none of her macros work. All of the macros have
VB script in them.

I am under the impression that the CTRL+BREAK key sequence is what is
causing the problem.

Chris
"Thomas [PBD]" wrote:

Chris,

Is there an error message associated with it? What kind of debug prompt?

--
--Thomas [PBD]
Working hard to make working easy.
Answered your question? Click ''''Yes'''' below.


"Chris Wieburg" wrote:

We have 5 PCs in our department that should all be configured alike. When we
run any macro (includes VBS script) in Excel 2002 on one of the PCs, there is
a debug prompt. On the other 4 PCs the macros work fine. Is there a setting
that could have been turned on that is causing the debug prompt on this
computer?

Chris Wieburg
.



Relevant Pages

  • Re: any macro-like construct/technique/trick?
    ... I prefer my debug code be more conspicuous rather ... Preprocessor Macros and their ilk have always seemed like an awful ... Python is probably the wrong language for your problem. ...
    (comp.lang.python)
  • Two Questions
    ... It's absolutely jam packed with very large macros ... gotos etc. which I'm finding very difficult to debug. ... ridiculous structures into inline functions, or is there a way to "force" ...
    (comp.lang.c)
  • Word 2003 Macro Runtime Error 5479
    ... I have a set of macros. ... document and pasting the strings into a second document. ... Switch to Word and close the dialog box." ... And a added Debug button if in debug mode. ...
    (microsoft.public.word.vba.general)
  • Re: Obscure mutex problem
    ... and since I can't duplicate the problem, I can't debug it! ... Adding 'recursive' doesn't fix anything, it just hides a broken design. ... uses macros for creating loops, fails to avoid double evaluation of macro ... and then start tackling the real problem. ...
    (comp.os.linux.development.apps)
  • Re: Help with debugging techinques
    ... Nothing stopping you from continuing to use the DEBUGMSG/RETAILMSG macros. ... The key is to ensure that your debug port is still enabled, ... Note that retail builds will cause the DEBUGMSG ...
    (microsoft.public.windowsce.platbuilder)