• 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.

set foucus related

ANKUSHRS1

Member
all i want to go from ''remark"(where "40" value inputed) textbox to "advance code" textbox which is not happening automatically. so I have use below code to fix this problem

problem is the cursor doesn't indicate starting at this box ( as screen shot shown below)

pls help

Code:
Private Sub remarks_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = vbKeyTab Then
AdvCode.SetFocus

End If
End Sub

upload_2018-8-7_19-31-25.png
 
Last edited by a moderator:
Attach a simple file and we can probably tweak the various controls' properties, probably TabIndex.
 
Back
Top