Screen Update

B

BP

Good morning,
Can you refresh me on the code that stop the screen from showing everything
that's happening in the macro? For instance, as cells are being selected
and updated via the macro, don't actually show this on the screen.

Thanks in advance.
 
F

Frank Kabel

Hi
Application.ScreenUpdating = False / True
you may also consider using
Application.Calculation = xlCalculationManual / xlCalculationAutomatic
So in total:
-----
Sub foo()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
'...
'enter your code
'...
Application.ScreenUpdating = False
Application.Calculation = xlCalculationAutomatic
end sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top