Sub Filterit()
With Range("A1:A" & Range("A" & Rows.Count).End(xlUp).Row)
.AutoFilter Field:=1, Criteria1:="UC"
On Error Resume Next
.Offset(1).Resize(.Rows.Count - 1).SpecialCells(xlCellTypeVisible).EntireRow.Delete
On Error GoTo 0
.AutoFilter
End With
End Sub