Unwanted freezed screen cause by screenupdate = false

  • Thread starter Thread starter Graiman
  • Start date Start date
G

Graiman

Hi! I experience when I go out from debugging mode, that the screenupdate =
false still is active. I have error handlers to restore screenupdate = true,
but often they don't seem to work.

Could it be that when an error occure and you get the question if you want
to debugg, the error handler doesn't become active if you doesn't take the
code by hand through the handler??
Please feel free to answer any of the questions!

Q1: Can you ensure the screenupdate = true or even better the error
handler always to be executed, when leaving debugg mode?

Q2: Can you stop the question about debbugging or not? I have error handler
for that.

Q3: How long will the screen update continue? If I choose window to Word or
Internet Explorer? MS IE seem to be affected sometimes...I thought all
settings went to normal when you leave excel? - Or do you have to terminate
Excel?
 
Can't answer all your questions, but you might check
VBA>Tools>Options>General to make sure that Error Trapping
is set to Break on Unhandled Errors. If it is not, that
could be the answer to questions one and two, assuming
that your error handling is done correctly.
 
Hat happens when you run the macro, not debug? What line
is highlighted yellow? maybe you are not using
the "application".ScreenUpdating = False

Just a thought
Mark
 
Hi and thank you. It was the Break on Unhandled Errors that was missing...
/Regards
 

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