Option Explicit
Sub Duplicates()
Dim ws As Worksheet, s As Integer, c1 As Integer, c2 As Integer, c3 As Integer, c As String 'Constantes
Dim i As Integer, ni As Integer, e As Integer, SearchID As String, MatchID As String 'Variables
'Déclaration constantes
Set ws = ThisWorkbook.Sheets("Sheet1") 'Nom de la feuille où se trouve le tableau
s = 1 'Première ligne du tableau
c = "A" 'Première colonne du tableau
c1 = 1 'Colonne A
c2 = 5 'Colonne E
c3 = 39 'Colonne AM
'Déclarations variables
e = ws.Cells(ws.Rows.Count, c).End(xlUp).Row 'Dernière ligne du tableau
'###############
'# DEBUT MACRO #
'###############
For i = s To e
SearchID = ws.Cells(i, c1).Value & ws.Cells(i, c2).Value & ws.Cells(i, c3).Value
For ni = s To e
If i <> ni Then
MatchID = ws.Cells(ni, c1).Value & ws.Cells(ni, c2).Value & ws.Cells(ni, c3).Value
If SearchID = MatchID Then
With Rows(ni).Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
End If
End If
Next ni
Next i
End Sub