Sub Test()
Dim Feuille As Worksheet, I As Integer, J As Integer, PremièreLigne As Boolean, Résultat As Worksheet
Dim IEntityColonne As Integer, EntityNameColonne As Integer, DiscrepancyValueColonne As Integer
Set Résultat = Sheets("Là où je dois coller")
For Each Feuille In ThisWorkbook.Worksheets
If Feuille.Index <> 1 Then
PremièreLigne = True
IEntityColonne = 1
EntityNameColonne = 1
DiscrepancyValueColonne = 1
With Feuille
While .Cells(1, IEntityColonne) <> "I_Entity"
IEntityColonne = IEntityColonne + 1
Wend
While .Cells(1, EntityNameColonne) <> "Entity Name"
EntityNameColonne = EntityNameColonne + 1
Wend
While .Cells(1, DiscrepancyValueColonne) <> "Discrepancy Value"
DiscrepancyValueColonne = DiscrepancyValueColonne + 1
Wend
I = 2
J = 2
While .Cells(I, DiscrepancyValueColonne) <> ""
If -5 > .Cells(I, DiscrepancyValueColonne).Value Or .Cells(I, DiscrepancyValueColonne).Value > 5 Then
If PremièreLigne = True Then
Résultat.Cells(J, 1) = Feuille.Name
PremièreLigne = False
End If
Résultat.Cells(J, 2) = .Cells(I, IEntityColonne)
Résultat.Cells(J, 4) = .Cells(I, EntityNameColonne)
Résultat.Cells(J, 6) = .Cells(I, DiscrepancyValueColonne)
J = J + 1
End If
I = I + 1
Wend
End With
End If
Next
End Sub