Freeze Worksheet while macro runs

  • Thread starter Thread starter DLS
  • Start date Start date
D

DLS

Can somebody tell how to freeze a worksheet while a macro runs to
eliminate the sheet jumping around? Thanks

DLS
 
Hello,
Application.ScreenUpdating = False will fix your problem.
When the macro is done executing, you should type
Application.ScreenUpdating = True to turn it back on.
 
Hi
use
application.screenupdating=false
'your code
application.screenupdating=true

in additon you may remove all select/activate statements but use object
references instead
 

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

Back
Top