ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   protect/unprotect & display flicker (https://www.excelbanter.com/excel-programming/358620-protect-unprotect-display-flicker.html)

timp

protect/unprotect & display flicker
 
I am using Charts(xxx).Protect and .Unprotect across several charts in a
worksheet. This seems to cause each chart in turn to appear in the display.
Is this a necessary eveil with protect/unprotect, or can I do it without
apparently activating each of the charts.

thanks.

Jim Thomlinson

protect/unprotect & display flicker
 
Have you tried toggling the screen updating

Applicaiton.screenUpdating = false
'Your Code here
Application.screenupdating = true
--
HTH...

Jim Thomlinson


"timp" wrote:

I am using Charts(xxx).Protect and .Unprotect across several charts in a
worksheet. This seems to cause each chart in turn to appear in the display.
Is this a necessary eveil with protect/unprotect, or can I do it without
apparently activating each of the charts.

thanks.


timp

protect/unprotect & display flicker
 
thank you yes... I think I was reluctant because I thought it shouldn't NEED
toggling - but after a cup of coffee I saw sense and just did it

"Jim Thomlinson" wrote:

Have you tried toggling the screen updating

Applicaiton.screenUpdating = false
'Your Code here
Application.screenupdating = true
--
HTH...

Jim Thomlinson


"timp" wrote:

I am using Charts(xxx).Protect and .Unprotect across several charts in a
worksheet. This seems to cause each chart in turn to appear in the display.
Is this a necessary eveil with protect/unprotect, or can I do it without
apparently activating each of the charts.

thanks.


Atreides

protect/unprotect & display flicker
 
Hi Jim,

Thanks for this code - I'm going to use it a lot more in the future. I often
write macros that use the autofilter functions - the screen flickers a lot
using them. But not any more!

Thanks again
Peter

"Jim Thomlinson" wrote:

Have you tried toggling the screen updating

Applicaiton.screenUpdating = false
'Your Code here
Application.screenupdating = true
--
HTH...

Jim Thomlinson


"timp" wrote:

I am using Charts(xxx).Protect and .Unprotect across several charts in a
worksheet. This seems to cause each chart in turn to appear in the display.
Is this a necessary eveil with protect/unprotect, or can I do it without
apparently activating each of the charts.

thanks.



All times are GMT +1. The time now is 01:59 AM.

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