ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Freeze Worksheet while macro runs (https://www.excelbanter.com/excel-programming/308788-freeze-worksheet-while-macro-runs.html)

DLS[_3_]

Freeze Worksheet while macro runs
 
Can somebody tell how to freeze a worksheet while a macro runs to
eliminate the sheet jumping around? Thanks

DLS

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Eva Shanley[_2_]

Freeze Worksheet while macro runs
 
Hello,
Application.ScreenUpdating = False will fix your problem.
When the macro is done executing, you should type
Application.ScreenUpdating = True to turn it back on.

-----Original Message-----
Can somebody tell how to freeze a worksheet while a macro

runs to
eliminate the sheet jumping around? Thanks

DLS

*** Sent via Developersdex http://www.developersdex.com

***
Don't just participate in USENET...get rewarded for it!
.


Frank Kabel

Freeze Worksheet while macro runs
 
Hi
use
application.screenupdating=false
'your code
application.screenupdating=true

in additon you may remove all select/activate statements but use object
references instead
--
Regards
Frank Kabel
Frankfurt, Germany

<DLS schrieb im Newsbeitrag
...
Can somebody tell how to freeze a worksheet while a macro runs to
eliminate the sheet jumping around? Thanks

DLS

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!




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

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