by Mohamed Safique Murtuza(rss) (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 19th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
move to another text box with the help of arrow key
' this code will allow to move to next text box with _
help of Down arrow key and will allow you to move to _
above text box with the help of Up arrow key
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 40 Then
SendKeys "{TAB}+"
ElseIf KeyCode = 38 Then
SendKeys "+{TAB}"
End If
End Sub