What is Alternate method to change Focus from TextBox to another Control
whose following properties are
Textbox1.EnterKeyBehaviour = True
Textbox1.MultiLine = True
Following does not Trigger to set focus on another control
Private Sub Textbox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then 'The ENTER key.'
SendKeys "{tab}" 'Set the focus to the next control.
KeyAscii = 0 'Ignore this key.
End If
End Sub
NimishK
whose following properties are
Textbox1.EnterKeyBehaviour = True
Textbox1.MultiLine = True
Following does not Trigger to set focus on another control
Private Sub Textbox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then 'The ENTER key.'
SendKeys "{tab}" 'Set the focus to the next control.
KeyAscii = 0 'Ignore this key.
End If
End Sub
NimishK