Move cursor to specific textbox
Hi all,
I really need help, I need to submit my program very soon. Help me with this situation.
User need to enter his/her name into TextBoxName. After user press ENTER, cursor have to move to TextBoxPhone and TextBoxName will be disabled from any alteration. In my situation, cursor move to TextBox Poscode. I don't want that :(
Coding:
Private Sub TextBoxName_Exit(ByVal Cancel As MSForms.ReturnBoolean)
If Me.TextBoxName.Text <> "" Then
Me.TextBoxPhone.Setfocus
Me.TextBoxName.Enabled = False
End If
Exit Sub
|