Problem with ScreenUpdating on Worksheet Open Event

gms

Board Regular
Joined
Jun 17, 2010
Messages
51
I have stopped screen updating by using a Worksheet Open Event but it doesn't stop the screen updating. It seems simple:

Private Sub Workbook_Open()

Application.DisplayAlerts = False
Application.ScreenUpdating = False

End Sub

Why doesn't it stop the flickering?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
What is happeing to cause it to flicker ??
Are you running another macro as well ??
The worksheet_open event you have doesn't really do anything.
If you want flickering to stop in other macros in the workbook, you will need to insert the lines of code in them
 
Upvote 0
I have stopped screen updating by using a Worksheet Open Event but it doesn't stop the screen updating. It seems simple:

Private Sub Workbook_Open()

Application.DisplayAlerts = False
Application.ScreenUpdating = False

End Sub

Why doesn't it stop the flickering?
This only precludes screen updating while the workbook open code is actually running.
 
Upvote 0
That's my problem. I don't understand why it doesn't do anything. I thought that everytime the Workbook opened I would stop the flicker with the ScreenUpdating = False code.

Why doens't it do anything? After the workbook open, yes there is a lot more code. There is nothing that sets ScreenUpdating = True.

??

gms
 
Upvote 0
Thanks JoMoe. That is unexpected. I was hoping it would turn off the flicker until I reset it with my Workbook Close event. Live and learn.

Thanks
gms
 
Upvote 0
OK, as I stated in my earlier post, you will need to put the
Application.ScreenUpdating = False
Application.ScreenUpdating = True

in each of the relevant macros.

Also, keep in mind that by turning off
Application.DisplayAlerts = False
you stand the risk of having important windows Pop up warnings turned off.
Also ensure that these are reversed at the end of each macro, to put the system "back to normal"
 
Upvote 0

Forum statistics

Threads
1,217,682
Messages
6,137,962
Members
450,101
Latest member
Mrupe86

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top