if you have a textbox control, and you hit return/enter (ASCII 13) it beeps. can i make it not beep?
Printable View
if you have a textbox control, and you hit return/enter (ASCII 13) it beeps. can i make it not beep?
Yes, in fact, you can.
Code:Private Sub Text1_KeyPress(KeyAscii As Integer)
if keyascii=13 then keyascii=0
End Sub