1
Guys good morning, I have the following macro to run a filter inside a column and bring me a determined value. however, within that same column there are other values, I would like to exclude the values that I will not use, how can I do? follows the Cod.
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
Related question: VBA code to delete line
– danieltakeshi