Option Explicit
Private Sub UserForm_Initialize()
ComboBox1.List = [code].Value
ComboBox2.Column = [titre].Value
End Sub
Private Sub ComboBox1_click()
If Me.ComboBox2 <> "" Then affiche
End Sub
Private Sub ComboBox2_click()
If Me.ComboBox1 <> "" Then affiche
End Sub
Sub affiche()
Me.TextBox1 = Application.Index([nbres], Me.ComboBox1.ListIndex + 1, Me.ComboBox2.ListIndex + 1)
End Sub