Application.ScreenUpdating

Assamita

Board Regular
Joined
Sep 23, 2011
Messages
131
Hi. I have a long macro that executes automatically every day. In order to reduce the execution time, I've seen that I can use Application.ScreenUpdating, since I don't need to see what the macro is doing.

My question is: what does application refer to?
I ask this because the macro runs from one excel file, but the real changes are done in a couple other excels this macro opens. I've set it False at the beginning, before the macro opens these files, and True again after they are both saved and closed. The file that executes the macro is just a dummy one and it actually doesn't change.

Did I do it right or will the 2 files that the macro open not properly work?

Thank you
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Application is the top of the hierarchy steps in an application. So when you are adding the screenupdating it controls the application. This shouldn't effect the workbooks, so this is a good option when processes take time.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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