how to move cursor in other textbox when i hit Enter Key in combbox instead of Tab Key
D delta Member Apr 18, 2021 #1 how to move cursor in other textbox when i hit Enter Key in combbox instead of Tab Key Last edited: Apr 18, 2021
Belleke Well-Known Member Apr 19, 2021 #2 You mean somthing like this? See example. Attachments Enter instead of tab.xlsm 17.1 KB · Views: 15
D delta Member Apr 21, 2021 #5 sir where is put this code in userfrom i put this code in userform keypress event >>> as many times You ( delta ) has noted <<< >>> use code - tags <<< Code: Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) If KeyAscii = 13 Then KeyAscii = 0 SendKeys "{TAB}" End If End Sub but didnot work my Combobox1 style is set fmStyleDropDownList Last edited by a moderator: Apr 21, 2021
sir where is put this code in userfrom i put this code in userform keypress event >>> as many times You ( delta ) has noted <<< >>> use code - tags <<< Code: Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) If KeyAscii = 13 Then KeyAscii = 0 SendKeys "{TAB}" End If End Sub but didnot work my Combobox1 style is set fmStyleDropDownList