Annika has attended:
Excel Forecasting and Data Analysis course
Excel Power Query course
Excel VBA Introduction course
How to switch off screen updating while running Macro
Last question, I promise!
How do I switch off the screeen updating while a VBA is running? We remember discussing this during the course, however we could not figure out how to do it anymore. Also the online versions I found where not quite working....
Thanks!
Annika
RE: How to switch off screen updating while running Macro
Hi Annika,
Thank you for the forum question.
I assume you want to speed up the time it takes to run thee code.
Turn off screen updating and auto calculations just after the Sub and turn it on just before End Sub
Sub YOURMACRONAME()
Application.ScreenUpdating = False
Application.Calculation = xlCalculationManual
YOURCODE
Application.ScreenUpdating = True
Application.Calculation = xlCalculationAutomatic
End Sub
Kind regards
Jens Bonde
Microsoft Office Specialist Trainer
Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us
London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector