Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Sub Statistique()
  2. Dim LastRow As Long
  3. Set x = ActiveWorkbook.Sheets("COPYRIGHT")
  4. LastRow = Range("A65536").End(xlUp).Row
  5. For x = LastRow To 3 Step -1
  6. If Application.WorksheetFunction.CountIf(Range("A3:A" & x), Range("A" & x).Text) > 1 Then
  7. Range("A" & x).EntireRow.Delete
  8. End If
  9. Next x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement