still learning
Well-known Member
- Joined
- Jan 15, 2010
- Messages
- 866
- Office Version
- 365
- Platform
- Windows
Hi
When this macro runs, the screen flickers as if the ScreenUpdating = False is not working. I can see the screen sorting and then finding the last row.
I also put in both ScreenUpdatings in the 2 marcos that run after the Freeze Pans runs
I tried taking them out of the macros, but I still get the flickering.
I also ran each macro separate and I get the screen moving
Am I using the updating wrong?
It works in other workbooks and worksheet.
Mike
When this macro runs, the screen flickers as if the ScreenUpdating = False is not working. I can see the screen sorting and then finding the last row.
I also put in both ScreenUpdatings in the 2 marcos that run after the Freeze Pans runs
I tried taking them out of the macros, but I still get the flickering.
I also ran each macro separate and I get the screen moving
Excel Formula:
Private Sub Worksheet_activate()
Range("A3").Select
ActiveWindow.FreezePanes = True
Application.ScreenUpdating = False
sortnew
lastrow
Application.ScreenUpdating = True
End Sub
It works in other workbooks and worksheet.
Mike