Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Unwanted freezed screen cause by screenupdate = false

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?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Unwanted freezed screen cause by screenupdate = false

Can't answer all your questions, but you might check
VBAToolsOptionsGeneral 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.

-----Original Message-----
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?


.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default Unwanted freezed screen cause by screenupdate = false

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
-----Original Message-----
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?


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Thanks, that was the solution...

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


"Ken" skrev i meddelandet
...
Can't answer all your questions, but you might check
VBAToolsOptionsGeneral 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.

-----Original Message-----
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?


.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested if with an unwanted false result [email protected] Excel Discussion (Misc queries) 1 March 19th 08 04:31 AM
print freezed pane panambi Excel Discussion (Misc queries) 7 March 18th 08 01:24 AM
Auto time freezed PH NEWS Excel Worksheet Functions 10 February 8th 06 03:31 PM
Unwanted replicated split screen BoyLeroy Excel Discussion (Misc queries) 1 September 28th 05 07:09 AM
DisplayAlerts and ScreenUpdate will not set to False Joe at Baso New Users to Excel 1 April 5th 05 07:41 PM


All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"