Good morning guys, I have the following macro to run a filter inside a column and bring me a certain value. but in that same column there are other values, I would like to delete the values that I will not use, how can I do it? follow the code.
Set ws3 = ActiveWorkbook.Worksheets("Planilha3")
With ws3
'Limpa os Autofiltros da Planilha para evitar erros
If .FilterMode Then
.ShowAllData
End If
'Última Linhada colunaE
UltimaLinhaE = .Cells(.Rows.Count, "E").End(xlUp).Row
'Autofiltro
.Range("E1:E" & UltimaLinhaE).AutoFilter Field:=5, Criteria1:="Cell 01"
End With