Private Sub CommandButton1_Click()
Dim i As Long
For i = Cells(Rows.Count, 9).End(xlUp).Row To 2 Step -1
If Cells(i, 2) <> Cells(i, 10) Then Cells(i, 2).EntireRow.Delete
Next
End Sub
Private Sub CommandButton1_Click()
Dim i As Long
For i = Cells(Rows.Count, 9).End(xlUp).Row To 2 Step -1
If Cells(i, 2) <> Cells(i, 10) Then Cells(i, 2).EntireRow.Delete
Next
End Sub