optimization question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I saw some code once that turned off screen refreshes in a workbook until a
macro complete running. I can't remember how that was done. Does anyone
have any ideas?

Thanks
 
At the start of the macro set:

application.ScreenUpdating=False

At the end (or in your eeeor trap) set:

application.ScreenUpdating=true
 
Thanks! That did the trick.

AA2e72E said:
At the start of the macro set:

application.ScreenUpdating=False

At the end (or in your eeeor trap) set:

application.ScreenUpdating=true
 

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