The ENTER key is never detected on my system through AScii vbKey Return. I have even tried toggling the keyPreview option of the form.

I have also tried the following code but the ENTER key does not return anything. Others work well.

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyF1: MsgBox "F1 is your friend."
Case vbKeyDelete: MsgBox "F2 could copy text."
Case vbKeyReturn: MsgBox "F3 could paste text."
Case vbKeyF4: MsgBox "F4 could format text."
End Select

End Sub

Please reply on my email address.