1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| Do
'Me.TextBox2.Text = UCase(Cells(L.Row, "A"))
'If Cells(L.Row, "B") <> TextBox3.Text Or Cells(L.Row, "C") <> TextBox4.Text Or Cells(L.Row, "D") <> TextBox5.Text Or Cells(L.Row, "E") <> TextBox6.Text Or Cells(L.Row, "F") <> TextBox7.Text Then
If Cells(L.Row, "B") <> TextBox3.Text Or Cells(L.Row, "C") <> TextBox4.Text Or Cells(L.Row, "D") <> TextBox5.Text Or Cells(L.Row, "E") <> TextBox6.Text Then
Set L = .FindNext(L)
Else
' LRow.Caption = L.Row
' ligne_recherchée = L.Row
Exit Sub
End If
Loop While Not L Is Nothing And L.Address <> Deb
LRow.Caption = L.Row
ligne_recherchée = L.Row
End If |
Partager