Hallo Experten,
ich verzweifele. Ich benötige für unten stehenden Code eure Hilfe.
Meine Combobox1 befülle ich mit Daten aus dem Datenblatt. Sofern ich also in der Combobox einen „Namen“ aussuche, nehmen die Textfelder Bezug auf dieses Comboboxfeld (Ähnlich eines S Verweis). Das klappt beim ersten mal ganz gut, nur wenn ich dann einen neuen Name in der Combobox eingebe bzw, auswähle; so aktualisieren sich nicht die Textfelder. was muss ich an den unten stehenden Code ändern das es funktioniert?
Private Sub Workbook_Activate()
Tabelle1.ComboBox1.ListFillRange = „Datenblatt!D1:D1400“
TextBox1.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „A“)
TextBox2.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „F“)
TextBox3.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „g“)
TextBox4.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „h“)
TextBox5.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „i“)
TextBox7.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „b“)
TextBox8.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „c“)
TextBox9.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „L“)
TextBox10.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „m“)
TextBox11.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „o“)
TextBox12.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „k“)
TextBox17.Text = Worksheets(2).Cells(ComboBox1.ListIndex + 1, „p“)
End Sub