Salut Paulox,
premier jet rapide!
Pas encore de recherche axée sur les 3 TextBox... Pas vraiment le temps... Ce soir...
Plutôt axé le travail sur les contrôles et la structure du code...
Public Sub REC(ByVal iIdx%)
'
Dim iRow%
'
On Error Resume Next
With Worksheets("Base")
iRow = .Columns(iIdx).Find(what:=IIf(iIdx < 3, CInt(Me.Controls("txtREC" & iIdx).Text), Me.Controls("txtREC" & iIdx).Text), _
lookat:=xlWhole, LookIn:=xlValues, searchdirection:=xlNext).Row
If iRow > 0 Then
For x = 1 To 4
Me.Controls("txtIN" & x).Text = .Cells(iRow, IIf(x < 4, x, x + 1))
Next
Me.Controls("Opt" & Asc(Left(.Cells(iRow, 4), 1)) - 64).Value = 1
Me.MultiPage1.Value = 0
Else
MsgBox "Pas de correspondance !", vbCritical + vbOKOnly, "Recherche"
End If
End With
On Error GoTo 0
'
End Sub
A+