Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sub Statistique()
- Dim LastRow As Long
- Set x = ActiveWorkbook.Sheets("COPYRIGHT")
- LastRow = Range("A65536").End(xlUp).Row
- For x = LastRow To 3 Step -1
- If Application.WorksheetFunction.CountIf(Range("A3:A" & x), Range("A" & x).Text) > 1 Then
- Range("A" & x).EntireRow.Delete
- End If
- Next x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement