Quick Question regarding VBA and Application.ScreenUpdating=False

jase71ds

Board Regular
Joined
Oct 23, 2006
Messages
137
Office Version
  1. 365
Platform
  1. Windows
I almost never want to see the screen update when I run a macro (unless I'm troubleshooting)
I've gotten into the habit of begining all macros with:
Application.ScreenUpdating=False

But I've also got in the habit of NOT ending the code with:
Application.ScreenUpdating=True

Are there any ill effects/problems that can result by not finishing out the macro by turning screen updating back on?

Thanks for your time.
Jase.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
No, not really. It will reset when the code ends anyway.
 
Upvote 0
Thanks!
I hadn't noticed any ill effects, but then thought it better that I check with the experts.
 
Upvote 0
Not putting it in has the addd benefit that if you call one routine from another, the called one won't affect screenupdating for the calling routine.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

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