• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Enter Key Use In Combobox

delta

Member
how to move cursor in other textbox when i hit Enter Key in combbox instead of Tab Key
 
Last edited:
You mean somthing like this?
See example.
 

Attachments

  • Enter instead of tab.xlsm
    17.1 KB · Views: 15
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:
Back
Top