S
seeker
I have the following code on a text box:
If KeyCode = vbKeyReturn And Shift = 2 Then
Call newcustomer
KeyCode = 0
End If
and keypreview is set to yes.
When I debug the code and check what is passed keycode = 17 and not 13 and
shif = 2 as it should. What am I doing wrong. Thanks.
If KeyCode = vbKeyReturn And Shift = 2 Then
Call newcustomer
KeyCode = 0
End If
and keypreview is set to yes.
When I debug the code and check what is passed keycode = 17 and not 13 and
shif = 2 as it should. What am I doing wrong. Thanks.