Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default NEED a PRO: Screen Epilepsy


I found a number of posts relating to this, but ain't yet seen nothin'
of any consequence, so..

Even though I clamped down on the modules / sheet changes with
Application.ScreenUpdate = False

and further made certain I was not turning it on and turning it off
when multiple modules were called and I was resetting protection on and
off for sheet info being written, and took the exact same precaution for

Application.EnableEvents = False

, the sheet the code initiates from, and especially the shapes thereon,
flash like the screen is having a freaking seizure.

One of you old pros or young geniuses out there (I am an old
hunt-and-pecker, but my wife just calls me "pecker" for short): What
the heck else can I do to try to eliminate all that flicker???
(Please!!!)


--
brucemc
------------------------------------------------------------------------
brucemc's Profile: http://www.excelforum.com/member.php...o&userid=32871
View this thread: http://www.excelforum.com/showthread...hreadid=556720

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default NEED a PRO: Screen Epilepsy

The only setting which affects scree flicker is screen updating. The most
likely cause of the flick is (ironically enough) overuse of the screen
updating. Every time screen updating is turned on (application.screenupdating
= true) the screen will refresh itself. So if I have two procedures one
calling the other in a loop such as this...

sub mainprocedure
dim i as integer
application.screenupdating = false
for i = 1 to 100
call MySub
sheets("Sheet1").select
next i
application.screenupdating = true 'flicker
end sub

sub MySub()
application.screenupdating = false
sheets("Sheet2").select
application.screenupdating = true 'flicker
end sub

Then my screen will update 101 times and flicker...
--
HTH...

Jim Thomlinson


"brucemc" wrote:


I found a number of posts relating to this, but ain't yet seen nothin'
of any consequence, so..

Even though I clamped down on the modules / sheet changes with
Application.ScreenUpdate = False

and further made certain I was not turning it on and turning it off
when multiple modules were called and I was resetting protection on and
off for sheet info being written, and took the exact same precaution for

Application.EnableEvents = False

, the sheet the code initiates from, and especially the shapes thereon,
flash like the screen is having a freaking seizure.

One of you old pros or young geniuses out there (I am an old
hunt-and-pecker, but my wife just calls me "pecker" for short): What
the heck else can I do to try to eliminate all that flicker???
(Please!!!)


--
brucemc
------------------------------------------------------------------------
brucemc's Profile: http://www.excelforum.com/member.php...o&userid=32871
View this thread: http://www.excelforum.com/showthread...hreadid=556720


  #3   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default NEED a PRO: Screen Epilepsy

Just to cover all of the bases, depending on what errorhandling he is using

Application.ScreenUpdate = False

would not disable screenupdating. Maybe a typo in the OP's part?


"Jim Thomlinson" wrote:

The only setting which affects scree flicker is screen updating. The most
likely cause of the flick is (ironically enough) overuse of the screen
updating. Every time screen updating is turned on (application.screenupdating
= true) the screen will refresh itself. So if I have two procedures one
calling the other in a loop such as this...

sub mainprocedure
dim i as integer
application.screenupdating = false
for i = 1 to 100
call MySub
sheets("Sheet1").select
next i
application.screenupdating = true 'flicker
end sub

sub MySub()
application.screenupdating = false
sheets("Sheet2").select
application.screenupdating = true 'flicker
end sub

Then my screen will update 101 times and flicker...
--
HTH...

Jim Thomlinson


"brucemc" wrote:


I found a number of posts relating to this, but ain't yet seen nothin'
of any consequence, so..

Even though I clamped down on the modules / sheet changes with
Application.ScreenUpdate = False

and further made certain I was not turning it on and turning it off
when multiple modules were called and I was resetting protection on and
off for sheet info being written, and took the exact same precaution for

Application.EnableEvents = False

, the sheet the code initiates from, and especially the shapes thereon,
flash like the screen is having a freaking seizure.

One of you old pros or young geniuses out there (I am an old
hunt-and-pecker, but my wife just calls me "pecker" for short): What
the heck else can I do to try to eliminate all that flicker???
(Please!!!)


--
brucemc
------------------------------------------------------------------------
brucemc's Profile: http://www.excelforum.com/member.php...o&userid=32871
View this thread: http://www.excelforum.com/showthread...hreadid=556720


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default NEED a PRO: Screen Epilepsy


typo: yup. s/b with ing, tried typing too fast

--
brucem
-----------------------------------------------------------------------
brucemc's Profile: http://www.excelforum.com/member.php...fo&userid=3287
View this thread: http://www.excelforum.com/showthread.php?threadid=55672

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
print box opens in right screen of dual screen setup why gerrys Excel Discussion (Misc queries) 1 June 30th 06 06:47 PM
Need to convert point on screen to various screen resolutions Donna YaWanna Excel Discussion (Misc queries) 5 October 26th 05 10:10 PM
Need to convert point on screen to various screen resolutions Donna YaWanna Excel Programming 5 October 26th 05 10:10 PM
Splash screen and various screen resolutions George J Excel Programming 4 October 3rd 04 10:15 PM
How to copy data from excel to power point screen by screen? luvgreen[_3_] Excel Programming 0 April 9th 04 03:51 PM


All times are GMT +1. The time now is 02:26 PM.

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

About Us

"It's about Microsoft Excel"