I made KeyCode Events For The Whole Alphabet.
I made KeyCode Events For The Whole Alphabet.
Rate I made KeyCode Events For The Whole Alphabet.
(2(2 Vote))
If KeyCode = vbKeyA Then
MsgBox "You Pressed The 'A' Key."
End If
If KeyCode = vbKeyB Then
MsgBox "You Pressed The 'B' Key."
End If
If KeyCode = vbKeyC Then
MsgBox "You Pressed The 'C' Key."
End If
If KeyCode = vbKeyD Then
MsgBox "You Pressed The 'D' Key."
End If
If KeyCode = vbKeyE Then
MsgBox "You Pressed The 'E' Key."
End If
If KeyCode = vbKeyF Then
MsgBox "You Pressed The 'F' Key."
End If
If KeyCode = vbKeyG Then
MsgBox "You Pressed The 'G' Key."
End If
If KeyCode = vbKeyH Then
MsgBox "You Pressed The 'H' Key."
End If
If KeyCode = vbKeyI Then
MsgBox "You Pressed The 'I' Key."
End If
If KeyCode = vbKeyJ Then
MsgBox "You Pressed The 'J' Key."
End If
If KeyCode = vbKeyK Then
MsgBox "You Pressed The 'K' Key."
End If
If KeyCode = vbKeyL Then
MsgBox "You Pressed The 'L' Key."
End If
If KeyCode = vbKeyM Then
MsgBox "You Pressed The 'M' Key."
End If
If KeyCode = vbKeyN Then
MsgBox "You Pressed The 'N' Key."
End If
If KeyCode = vbKeyO Then
MsgBox "You Pressed The 'O' Key."
End If
If KeyCode = vbKeyP Then
MsgBox "You Pressed The 'P' Key."
End If
If KeyCode = vbKeyQ Then
MsgBox "You Pressed The 'Q' Key."
End If
If KeyCode = vbKeyR Then
MsgBox "You Pressed The 'R' Key."
End If
If KeyCode = vbKeyS Then
MsgBox "You Pressed The 'S' Key."
End If
If KeyCode = vbKeyT Then
MsgBox "You Pressed The 'T' Key."
End If
If KeyCode = vbKeyU Then
MsgBox "You Pressed The 'U' Key."
End If
If KeyCode = vbKeyV Then
MsgBox "You Pressed The 'V' Key."
End If
If KeyCode = vbKeyW Then
MsgBox "You Pressed The 'W' Key."
End If
If KeyCode = vbKeyX Then
MsgBox "You Pressed The 'X' Key."
End If
If KeyCode = vbKeyY Then
MsgBox "You Pressed The 'Y' Key."
End If
If KeyCode = vbKeyZ Then
MsgBox "You Pressed The 'Z' Key."
End If
End Sub
I made KeyCode Events For The Whole Alphabet. Comments
No comments yet — be the first to post one!
Post a Comment