Bonjour madmike, le forum,
Un essai:
Private Sub ComboBox1_Change()
Label1.Caption = Application.VLookup(ComboBox1.Value, Range("Tableau1"), 2, False)
TextBox1 = Application.VLookup(ComboBox1.Value, Range("Tableau1"), 3, False): TextBox1 = Format(TextBox1, "#,##0.00 €")
End Sub
où
Private Sub ComboBox1_Change()
' avec plages nommées et index/equiv
Label1.Caption = Application.Index(Range("Departement"), Application.Match(ComboBox1.Text, Range("Code"), 0))
TextBox1 = Application.Index(Range("BUDGET"), Application.Match(ComboBox1.Text, Range("Code"), 0)): TextBox1 = Format(TextBox1, "#,##0.00 €")
End Sub
Propriété/textBox1/locked=true
Cordialement,