ASCII code for enter - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

ASCII code for enter

What is the ASCII code for enter?

Thanks for any help


Comments

  • : What is the ASCII code for enter?

    : Thanks for any help

    :

    13 or you could use vbKeyReturn






  • put a form and a TextBox on and write:

    Private Sub Text1_KeyPress(KeyAscii As Integer)

    MsgBox "The ASCII CODE in decimal is " & KeyAscii & " and in Hex it is " & Hex(KeyAscii)

    End Sub



    run it!




Sign In or Register to comment.