What is F13?

I wanted to know what keystrokes make the F13 key run.
kellyeggAsked:
Who is Participating?
 
jjmartinConnect With a Mentor Commented:
F13 is shift+F1.  F14 is shift+F2.  F15 is shift+F3.  Etc... See the pattern here?
0
 
DalinCommented:
kelly,
try to press Alt and 1-2-3 from the right hand side number keys (don't release the alt until all 3 numbers are enterd.
In VB, the keycode is vbKeyF13.
Regards
Dalin
0
 
kellyeggAuthor Commented:
This did not work.
0
 
stevesmCommented:
kelly,
you can only capture "F" keystrokes with the certain events are you using the correct syntax and is your control set to receive keystrokes? Key preview must be set to true on the form, for example try this.

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'Trap the F13 key for ending the app
    If KeyCode = vbKeyF13 Then
        End
End If
End Sub

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.