Hi ! I would also enjoy a way to work with duplicates. Not only to remove them but also to find them.
It would be great to have a way to highlight them and then have options to delete them manually or automatically.
I found a way to do that on word with VBA code :
Sub highlightdup()
Dim I, J As Long
Dim xRngFind, xRng As Range
Dim xStrFind, xStr As String
Options.DefaultHighlightColorIndex = wdYellow
Application.ScreenUpdating = False
With ActiveDocument
For I = 1 To .Paragraphs.Count - 1
Set xRngFind = .Paragraphs(I).Range
If xRngFind.HighlightColorIndex <> wdYellow Then
For J = I + 1 To .Paragraphs.Count
Set xRng = .Paragraphs(J).Range
If xRngFind.Text = xRng.Text Then
xRngFind.HighlightColorIndex = wdBrightGreen
xRng.HighlightColorIndex = wdYellow
End If
Next
End If
Next
End With
End Sub
Source :
How to find and highlight duplicate paragraphs in Word document?
The idea of highlighting the first occurrence in green and the following occurrence in yellow is cool.
We could also imagine an option to put each group of duplicates of the same line in one color. Exemple : All occurence of {X} in yellow, all occurence of {Y} in green, etc.