Private Sub ComboBox1_Change()
Me.Label3.Caption = Cells(Application.Match(Me.ComboBox1.Value, [plage], 0) + [plage].Row - 1, [plage].Column + 1).Text
Dim CalculDiffTemps As String
Dim valeur1, reference As Range
Set valeur1 = Cells(Application.Match(Me.ComboBox1.Value, [plage], 0) + [plage].Row - 1, [plage].Column + 1)
Set reference = Range("Q2")
If valeur1.Value = reference.Value Then
CalculDiffTemps = ""
ElseIf valeur1.Value > reference.Value Then
CalculDiffTemps = "+" & Format(valeur1.Value - reference.Value, "h")
Else
CalculDiffTemps = "-" & Format(reference.Value - valeur1.Value, "h")
End If
MsgBox CalculDiffTemps
End Sub