ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Screen flicker despite ScreenUpdate = False in the first line of code (https://www.excelbanter.com/excel-programming/308761-screen-flicker-despite-screenupdate-%3D-false-first-line-code.html)

Gunnar Johansson

Screen flicker despite ScreenUpdate = False in the first line of code
 
Hi,

I have "Application.ScreenUpdate = False" in first row after "Sub.." and has
it as "= True" the last line just before "End Sub"

Why does my screen still flicker irritating when I run the code? What can I
do to prevent it?

/Regards



Ken Macksey

Screen flicker despite ScreenUpdate = False in the first line of code
 
Hi Don't know if the typo is just in your message, but try

Application.ScreenUpdating = False


instead of Application.ScreenUpdate = false

HTH

Ken


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.744 / Virus Database: 496 - Release Date: 24/08/2004



jordanctc[_15_]

Screen flicker despite ScreenUpdate = False in the first line of code
 
try...

Application.ScreenUpdating = False


the *ing should make all the difference.

Jorda

--
Message posted from http://www.ExcelForum.com


mangesh_yadav[_82_]

Screen flicker despite ScreenUpdate = False in the first line of code
 
I don't think its the typo error. He says that the screen is flickerin
and not updating. Infact even I have this problem, but I guess we hav
to live with it.

- Manges

--
Message posted from http://www.ExcelForum.com


jordanctc[_16_]

Screen flicker despite ScreenUpdate = False in the first line of code
 
did he change both??

Jorda

--
Message posted from http://www.ExcelForum.com


Jason Morse

Screen flicker despite ScreenUpdate = False in the first lineof code
 
Gunnar Johansson wrote:

Hi,

I have "Application.ScreenUpdate = False" in first row after "Sub.." and has
it as "= True" the last line just before "End Sub"

Why does my screen still flicker irritating when I run the code? What can I
do to prevent it?

/Regards



Assuming this isn't a typo issue...
Do you have use any AutoFilters in the code? I have found that they can
produce flicker even when ScreenUpdating = False. I've worked around
this by turning ScreenUpdating off *again* when finished with the
Autofilters.

-Jason

Gunnar Johansson

Right, the syntax IS ok! Just - do we have to live with this?
 
As you Mangesh correctly found, I mentioned in the text body the whole
syntax "Application.ScreenUpdate = False".

I belive many of you guys find this flickering and for some, often smaller
macros, there is no flickering. The question is - why does it occure when
screenupdate=false? Is it just some special commands, is it the length of
the code, is it the screenupdate=false command itself??? ... or?
Please continue the discussion.

If some of you know if there is some special commands that create screen
flicker despite screenupdate=false, please tell so I can try to use other
solutions instead.

/Regards

"mangesh_yadav " skrev i
meddelandet ...
I don't think its the typo error. He says that the screen is flickering
and not updating. Infact even I have this problem, but I guess we have
to live with it.

- Mangesh


---
Message posted from http://www.ExcelForum.com/





All times are GMT +1. The time now is 12:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com