|
Question : stopping excel flickering
|
|
I have a small excel 97 program that does a lot of calculating before displaying a final answer. During this time the screen flickers frantically as the cursor skips around the work sheets.
How can I set it up so that the user is faced by a steady screen, perhaps saying something like "please wait." until the calculations are over when the spreadsheet reappears.
I've had a go showing and hiding a form over the top but I can't get the form to stay there while the rest of the calculations are done.
Thanks in advance.
|
|
Answer : stopping excel flickering
|
|
ST: I think this might be a little easier. Somewhere early in your code, put this line:
Application.ScreenUpdating = False
This keeps the screen from updating after each macro step and waits until it's all done.
You'll want to turn it back on at the end of your code with:
Application.ScreenUpdates = True
|
|
|