Bonsoir Ge0ffreoy
Au changement de la 1ère combo
Private Sub ComboBox0_Change()
If Me.ComboBox0.ListIndex < 0 Then Exit Sub
With BASE ' une catégorie est choisie
Me.ComboBox1.RowSource = ""
Me.ComboBox1.Clear ' combo vidé
For lig = 2 To .Cells(Rows.Count, 1).End(xlUp).Row
If .Cells(lig, 2) = Me.ComboBox0 Then
' combo avec catégorie choisie
Me.ComboBox1.AddItem .Cells(lig, 1)
Me.ComboBox1.List(Me.ComboBox1.ListCount - 1, 1) = .Cells(lig, 2)
End If
Next lig
End With
' Ici
Me.TextBox1.Value = Me.ComboBox1.ListCount
End Sub
A+