I don't want to see what a macro is doing when it's running

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

Guest

When a makro is running, all the activities show on the screen. I know tehre
is a posibility to supress this, which has also the effect, that the macor
runs quickier.
 
Hi Esgu,

1) Use the ScreenUpdating property:

Application.ScreenUpdating = False

'Your code

Application.ScreenUpdating = True

2) (Which should be 1)!), avoid selections.
Selections are rarely necessary and tend to make your code less
efficient and harder to maintain. Additionally, they have the unfortunate
side effect you have observed.
 

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