Lotus 1-2-3 {Windowsoff}

B

Bob Barnes

In Lotus 1-2-3 years ago there was a {Windowsoff} command to
"freeze" the screen while a macro is running. "Unfreezing" occurs
when {Windowson} is run/

What is the equivalent in Excel 2000?

TIA - Bob
 
J

John Wilson

Bob,

Application.ScreenUpdating = False
Turns it off
Application.ScreenUpdating = True
Turns it back on.
It'll aurtomatically turn itself back on when your macro ends, but it's
a good idea to turn it back on anyway at the end of your code.

John
 

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