Private Sub ComboBox1_Change()
Dim a As String, plage As Range
cbx_longueur.Clear
Set f = Sheets("Chute")
Set plage = f.Range(f.[B9], f.[B65000].End(xlUp))
a = cbx_article
For Each c In plage.Cells
x = Application.Match(c.Value, plage, 0)
If x = c.Row - 1 And c.Offset(, -2) = a Then Me.cbx_longueur.AddItem c
Next c
End Sub
Private Sub CommandButton2_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
Set f = Sheets("Chute")
Set plage = f.Range(f.[B9], f.[B65000].End(xlUp))
For Each c In plage.Cells
x = Application.Match(c.Value, plage, 0)
If x = c.Row - 1 Then Me.cbx_article.AddItem c
Next c
End Sub