I'm trying to set the focus to Text4 whenever the tab key is pressed, while the focus is at Text1.
Why won't it work? :confused:
Why won't it work? :confused:
Code:
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 9 Then
Text4.SetFocus
End If
End Sub