G
gti_jobert
Hi all,
I want to execute all the code in a cmdButton on a userform when a
keypress is registerd.
Code:
--------------------
Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 10Then
'goto cmdSearch (execute the cmdSearch Code)
End If
End Sub
I want to execute all the code in a cmdButton on a userform when a
keypress is registerd.
Code:
--------------------
Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 10Then
'goto cmdSearch (execute the cmdSearch Code)
End If
End Sub