code break message box

  • Thread starter Thread starter freekrill
  • Start date Start date
F

freekrill

I have a code which loops until it is stopped via the esc key. When thi
happens, the message box ("Code execution has been interrupted") appear
with the options to end, debug, etc. My question is: can I stop thi
message from appearing? That is, when I press esc, can I just have th
page where the code was working displayed without any error messages?

Cheers
fre
 
Will this do it for you?
Application.DisplayAlerts = False

The only other thing I can think of is to use another method of ending
the program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top