ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to hide all the actions while a macro is running (https://www.excelbanter.com/excel-programming/278727-how-hide-all-actions-while-macro-running.html)

milo[_2_]

How to hide all the actions while a macro is running
 
Is there a way or a code to hide all the actions while a
macro is running?

Thanks,
milo

steve

How to hide all the actions while a macro is running
 
application.ScreenUpdating=False


-----Original Message-----
Is there a way or a code to hide all the actions while a
macro is running?

Thanks,
milo
.


Peo Sjoblom

How to hide all the actions while a macro is running
 
Don't forget to change that to true at the end of the
macro

Sub MyMacro()
application.ScreenUpdating=False
'do your thing
application.ScreenUpdating=True
End Sub


Regards,

Peo Sjoblom



-----Original Message-----
application.ScreenUpdating=False


-----Original Message-----
Is there a way or a code to hide all the actions while

a
macro is running?

Thanks,
milo
.

.


Tim[_25_]

How to hide all the actions while a macro is running
 

Use this line of code at the start of the macro and it
stops all the actionfrom appearing on the screen.

ScreenUpdating = False

-----Original Message-----
Is there a way or a code to hide all the actions while a
macro is running?

Thanks,
milo
.



All times are GMT +1. The time now is 08:32 AM.

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