Hi,
I am trying to understand what does the vba do in the highlighted section:
For i = LastRow To 2 Step -1
If WorksheetFunction.CountIf(Range(Cells(2, "C"), Cells(i, "C")), Cells(i, "C")) > 1 Then
Rows(i).Delete
End If
Next I
Kind Regards,
Dan
I am trying to understand what does the vba do in the highlighted section:
For i = LastRow To 2 Step -1
If WorksheetFunction.CountIf(Range(Cells(2, "C"), Cells(i, "C")), Cells(i, "C")) > 1 Then
Rows(i).Delete
End If
Next I
Kind Regards,
Dan