Is it possible to get rid of the system beep whenever I have the enter key hit? I'm not sure if it has anything to do with this specific code:

Private Sub t_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyReturn Then
DoEvents
If editrow <> 0 And editcol <> 0 Then
If db.TextMatrix(editrow, editcol) <> t.Text Then db.TextMatrix(editrow, editcol) = t.Text
editrow = 0
editcol = 0
End If
db.SetFocus
t.Visible = False
End If
End Sub

but whenever I run this, a loud beep occurs. Thanks in advance!