Bonjour
Le mieux c'est que tu fournisses un fichier afin de tester
En attendant une erreur c'est que tu ne précises pas d'où vient
Me.Label2.Caption =Cells(Lig, Col)
Un code à tester (sans garantie car pas de fichier pour tester)
Private Sub TextBox1_Change()
Dim Cel As Range
Dim REP9 As String
Dim Lig As Long
Dim Col As Integer
If Me.TextBox1.Value > 35 Then
MsgBox (" vous avez du vous trompé")
Else
Me.Label1.Caption = "Palier " & Me.TextBox1.Value
End If
With Sheets("VamEval")
REP9 = Me.Label1.Caption
Set Cel = .Range("D:D").Find(what:=REP9, LookIn:=xlValues, lookat:=xlWhole)
If Not Cel Is Nothing Then
Col = .Range("1:1").Find(what:="VO2max", LookIn:=xlValues, lookat:=xlWhole).Column
Lig = Cel.Row
Me.Label2.Caption = .Cells(Lig, Col)
Else
Me.Label2.Caption = "Aucune valeur"
End If
End With
End Sub