Bonjour
Le code simplifié
Sub comparaison_Baden_Scalian()
Dim Trouve1 As Range
'Dim Trouve2 As Range
Dim Reponse As String
Dim SH1 As Worksheet, SH2 As Worksheet, Ligne As Long
Set SH1 = Sheets("TCMS Doc")
Set SH2 = Sheets("MVB.ProcessData")
Ligne = 2
Application.ScreenUpdating = fales
With SH1
Do While .Cells(Ligne, 1) <> ""
Set Trouve1 = SH2.Range("A:B").Find(.Cells(Ligne, 1), SearchFormat:=True)
If Trouve1 Is Nothing Then
.Cells(Ligne, 2) = "no"
Else
.Cells(Ligne, 2) = "yes"
.Cells(Ligne, 1).Interior.Color = 65535
End If
Ligne = Ligne + 1
Loop
End With
End Sub
Eviter à tout prix les select