Merci de cette réponse plus que rapide et efficace.
Juste pour mon info dans le code lig= Application.Match à quoi correspond .[A:A], 0) Est ce la colonne A ?
si je voulais réaliser la même macro pour instructeur je devrais coder ceci:
'*****************************************************
'j'associe le choix de l'instructeur au coût unitaire instructeur
'******************************************************
Private Sub INSTRUCTEUR_cbm_Change()
If INSTRUCTEUR_cbm.ListIndex = -1 Then TextBox1 = "": Exit Sub
lig = Application.Match(INSTRUCTEUR_cbm, Sheets("Data").[E:E], 0)
If IsError(lig) Then
TextBox1 = ""
Else
TextBox1 = Sheets("Data").Cells(lig, 2)
End If
End Sub
d'avance grand merci
Papy280255