Afro_Cookie
Board Regular
- Joined
- Mar 17, 2020
- Messages
- 103
- Office Version
- 365
- Platform
- Windows
Found this post, ScreenUpdating = False not working, that is having a similar issue to mine. From what I've read this is a common issue with Excel after an update Microsoft did.
Below is my code and I cannot figure out how to keep ScreenUpdating set to false. It's not a major issue but the continual flickering of the screen is really annoying, especially when other workbooks are open as well.
Any help would be appreciated.
Below is my code and I cannot figure out how to keep ScreenUpdating set to false. It's not a major issue but the continual flickering of the screen is really annoying, especially when other workbooks are open as well.
Any help would be appreciated.
VBA Code:
Sub SaveThis()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
ThisWorkbook.Save
Application.DisplayAlerts = True
NextTime = Now + TimeValue("00:00:10")
Application.OnTime NextTime, "SaveThis"
End Sub
Sub SaveThisEnd()
On Error Resume Next
Application.ScreenUpdating = False
Application.OnTime NextTime, "SaveThis", Schedule:=False
End Sub