Private Sub ComboBox1_Change()
Dim lig As Long
Application.EnableEvents = False
If ComboBox1.ListIndex = -1 Then Exit Sub
lig = CLng(ComboBox1.List(ComboBox1.ListIndex, ComboBox1.ColumnCount - 1))
If lig > 0 Then
With Sheets("ETISCH")
Label1.Caption = .Range("h" & lig).Value
Label1.Visible = True
Label5.Visible = True
End With
End If
Application.EnableEvents = True
End Sub
Private Sub ComboBox2_Change()
Dim lig As Long
Application.EnableEvents = False
If ComboBox2.ListIndex = -1 Then Exit Sub
lig = CLng(ComboBox2.List(ComboBox2.ListIndex, ComboBox2.ColumnCount - 1))
If lig > 0 Then
With Sheets("ETISCH")
Label1.Caption = .Range("h" & lig).Value
Label1.Visible = True
Label5.Visible = True
End With
End If
Application.EnableEvents = True
End Sub
Private Sub ComboBox3_Change()
Application.EnableEvents = False
ComboBox2.RowSource = ""
Call remplistbox(£valeur:=ComboBox3.Value & ComboBox3.Value, _
£col:="B", _
£offset1:=8, _
£offset2:=8, _
£nomfeuille:="ETISCH", _
£numco:=2)
ComboBox2.Visible = True
Label3.Visible = True
ComboBox1.RowSource = ""
Call remplistbox(£valeur:=ComboBox3.Value & ComboBox3.Value, _
£col:="i", _
£offset1:=1, _
£offset2:=1, _
£nomfeuille:="ETISCH", _
£numco:=1)
ComboBox1.Visible = True
Label4.Visible = True
Application.EnableEvents = True
End Sub