VBA - Hide What's Happening (easy one)

RFitzpatrick

New Member
Joined
Sep 26, 2002
Messages
2
Here's an easy one: what is the Visual Basic Command to turn off the screen display so that all of the copying, etc. going on is NOT shown. Then, what is the command to turn this back on (to be done @ end of the macro)?

I've spent way too much time searching through Excel Help for what should be an easy command to find...

Thanks,

Ron
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Mudface

MrExcel MVP
Joined
Feb 18, 2002
Messages
3,339
Application.ScreenUpdating = False

then

Application.ScreenUpdating = True
 

Mark O'Brien

MrExcel MVP
Joined
Feb 15, 2002
Messages
3,530
<pre>
Application.ScreenUpdating = False</pre>


It might be a good idea to set it back to TRUE at the end of your code. XP
likes this, other versions don't care.

_________________<font color = green> Mark O'Brien
This message was edited by Mark O'Brien on 2002-09-27 14:05
 

Forum statistics

Threads
1,144,274
Messages
5,723,442
Members
422,497
Latest member
dougy99

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
Top