Suspend window while Excel VBA macro is executing

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

Guest

How do I suspend the application window from showing progress while an Excel
VBA macro is executing? Tha macro involves a lot of jumping between
worksheets, and I suspect that the updating of windows takes a lot of time.
 
typethis code beginning of the code statements

Application.ScreenUpdating = False

at the end of the statemnets before end sub type

Application.ScreenUpdating = true




Knut S said:
How do I suspend the application window from showing progress while an Excel
VBA macro is executing? Tha macro involves a lot of jumping between
worksheets, and I suspect that the updating of windows takes a lot of
time.
 
Knut,

Put this at the beginning of your code:

Application.ScreenUpdating = False


and then this at the end:

Application.ScreenUpdating = True

HTH,
Nikos

Knut S said:
How do I suspend the application window from showing progress while an Excel
VBA macro is executing? Tha macro involves a lot of jumping between
worksheets, and I suspect that the updating of windows takes a lot of
time.
 
Thanks. It helped a lot!
Knut

Nikos Yannacopoulos said:
Knut,

Put this at the beginning of your code:

Application.ScreenUpdating = False


and then this at the end:

Application.ScreenUpdating = True

HTH,
Nikos


time.
 
Thanks. It helped a lot!!
Knut

R.VENKATARAMAN said:
typethis code beginning of the code statements

Application.ScreenUpdating = False

at the end of the statemnets before end sub type

Application.ScreenUpdating = true





time.
 

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