Silviag123, acrescente na rotina a instrução :
xlDescending - Do Menor para o Maior, ou
xlAscending - Do Maior para o Menor
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("N:N")) Is Nothing Or Target.Cells.Count > 1 Then Exit Sub
Application.EnableEvents = False
ActiveSheet.AutoFilter.ApplyFilter
With ActiveWorkbook.Worksheets("Priorização").AutoFilter.Sort
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Order = xlDescending
.Apply
End With
Application.EnableEvents = True
End Sub
Faça os testes e veja se resolve.
[]s
Mauro Coutinho
Postado : 12/11/2019 9:07 am