View Single Post
 
Old 01-04-2016, 06:14 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

To delete duplicate rows, you could insert:
Code:
    For i = .Rows.Count To 2 Step -1
      If .Rows(i).Range.Text = .Rows(i - 1).Range.Text Then .Rows(i).Delete
    Next
after:
.Sort
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote