langsam komme ich der Sache näher
Unten mal mein Code dargestellt:
klappt aber nicht wie ich möchte
Die Zahlenreihe in Combobox 8 wird beim Starten der Userform eingelesen und wenn ich jetzt einen wert auswähle soll dieser in der Textbox 3 angezeigt werden zur weiteren Berechnung.
So wie hier läuft es immer zum letzten Wert also 340, der in der Textbox angezeigt wird.
Private Sub ComboBox6_Change()
If ComboBox6 "5000" Then TextBox3.Value = CCur(145)
If ComboBox6 "7000" Then TextBox3.Value = CCur(170)
If ComboBox6 "9000" Then TextBox3.Value = CCur(180)
If ComboBox6 "11000" Then TextBox3.Value = CCur(190)
If ComboBox6 "13000" Then TextBox3.Value = CCur(220)
If ComboBox6 "15000" Then TextBox3.Value = CCur(230)
If ComboBox6 "17000" Then TextBox3.Value = CCur(265)
If ComboBox6 "19000" Then TextBox3.Value = CCur(275)
If ComboBox6 "21000" Then TextBox3.Value = CCur(290)
If ComboBox6 "23000" Then TextBox3.Value = CCur(325)
If ComboBox6 "25000" Then TextBox3.Value = CCur(340)
Bitte um Hilfe
Danke Gruß Peter