PRIVE SUB ENTER VB Clicked

Private Sub Form_PreviewKeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) Handles Form.PreviewKeyDown
    If e.KeyCode = Keys.Enter Then
       
       'code here
       
    End If
End Sub
Salty Joe