Hi I'm using this VBA code to sort a table. The table's values coming from Formula.
However it still flickers when it runs.... any ideas?
Code:
Private Sub Worksheet_Calculate()
On Error Resume Next
Application.ScreenUpdating = False
With Me.Range("O19:P24")
.Sort Key1:=Me.Range("P20"), Order1:=xlDescending, Header:=xlGuess _
, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
End With
Application.ScreenUpdating = True
On Error GoTo 0
End Sub
However it still flickers when it runs.... any ideas?
Last edited: