UF Steuerung
15.09.2018 07:07:21
Peter
ich möchte nach Eintrag in Textbox5 beim Wechsel mit Tab-Taste nicht in die nächste Textbox sondern in die Combobox2.
Auszuführen in
Private Sub Textbox5_AfterUpdate.
Private Sub TextBox5_AfterUpdate()
If TextBox5.Value = "" Then
TextBox5.BackColor = vbYellow 'vbGreen
Else
TextBox5.BackColor = vbGreen 'vbYellow
TextBox5.ForeColor = vbBlack
End If
If TextBox5.Value > "" Then
TextBox6.BackColor = vbGreen
ComboBox2.SetFocus
End If
End Sub
Bei o.a. Code wird aber Combobox1 ausgewählt.
Was ist bitte falsch.
Besten Dank für eure Hilfe.
Gruss
Peter