Excel - VBA (Freezing the Display During Maacro Execution)

  • Thread starter Thread starter Art Fitzgerald
  • Start date Start date
A

Art Fitzgerald

I have developed a VBA Procedure (macro) for Excel and
would like to freeze the window display while the macro
is executing. Although I'm sure it was possile to freeze
the display on older macros, prior to VBA, I can't seem
to find a way to do it with VBA. Can anyone help?
 
Hi Art
at the top of your macro
application.screenupdating = false

at the bottom
application.screenupdating = true

Regards
JulieD
 
Sub YourSub()
Application.ScreenUpdating=False
----your code here----
Application.SreenUpdating=True
End Sub
 
Sub Mycode()
Application.ScreenUpdating = False
' existing code
Application.ScreenUpdating = True
End Sub
 

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