ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How stop display of worksheets during macro (https://www.excelbanter.com/excel-programming/350646-how-stop-display-worksheets-during-macro.html)

John

How stop display of worksheets during macro
 
I have a macro that copies a bunch of data between worksheets. It would run a
lot faster if I could tell excel to stop displaying worksheets. How do I turn
this fcn off and back on again?

Roger Govier

How stop display of worksheets during macro
 
Hi John

Application.ScreenUpdating = False
...
do your stuff
...
Application.ScreenUpdating = True

--
Regards

Roger Govier


"John" wrote in message
...
I have a macro that copies a bunch of data between worksheets. It would
run a
lot faster if I could tell excel to stop displaying worksheets. How do
I turn
this fcn off and back on again?





All times are GMT +1. The time now is 02:01 PM.

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