Bonjour Sa3d88, Pedro, bonjour le forum,
Tout à fait d'accord avec Pedro... Comme tu ne daignes pas préciser l'emplacement des données, un code a adapter :
Sub Macro3()
Dim COL As Integer
Dim R As Range
Dim PA As String
Dim LI As Long
COL = 1 'Ici le numéro de la colonne où se trouve la valeur de la TextBox (laquelle d'ailleurs ?!...)
Set R = Columns(COL).Find(Me.TextBox1, , xlValues, xlWhole)
If Not R Is Nothing Then
PA = R.Address
LI = R.Row
Do
Set R = Columns(COL).FindNext(R)
If R.Row > LI Then LI = R.Row
Loop While Not R Is Nothing And R.Address <> PA
End If
MsgBox LI
End Sub