Ciao a tutti
Sono nuovo del forum ho trovato questa macro "eliminarighe" che farebbe al mio caso, solo ho un problema ovvero avendo molti piu nomi da filtrare e mantenere non riesco ad aggiungere l' elenco che per giunta posso utilizzare anche dentro un altro foglio che ho nel file excell.
Cortesemente riusciresti ad aiutarmi.Grazie e Buon lavoro
Sub eliminarighe()
Dim ur As Integer
With Sheets("DDT_BB")
ur = .Cells(Rows.Count, 6).End(xlUp).Row
For n = ur To 2 Step -1
If .Cells(n, 6).Value <> "teur" And .Cells(n, 6).Value <> "tped" Then
.Cells(n, 6).EntireRow.Delete
End If
Next n
End With
End Sub