ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Suspend window while Excel VBA macro is executing (https://www.excelbanter.com/excel-programming/317086-suspend-window-while-excel-vba-macro-executing.html)

Knut S

Suspend window while Excel VBA macro is executing
 
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.VENKATARAMAN

Suspend window while Excel VBA macro is executing
 
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 <Knut wrote in message
...
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.





Nikos Yannacopoulos[_5_]

Suspend window while Excel VBA macro is executing
 
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" <Knut wrote in message
...
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 S

Suspend window while Excel VBA macro is executing
 
Thanks. It helped a lot!
Knut

"Nikos Yannacopoulos" wrote:

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" <Knut wrote in message
...
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 S

Suspend window while Excel VBA macro is executing
 
Thanks. It helped a lot!!
Knut

"R.VENKATARAMAN" wrote:

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 <Knut wrote in message
...
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.







All times are GMT +1. The time now is 12:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com