Suspend window while Excel VBA macro is executing

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.
 
R

R.VENKATARAMAN

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.
 
N

Nikos Yannacopoulos

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.
 
G

Guest

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.
 
G

Guest

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

Top