Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
'Escape
If KeyCode = 27 Then
Unload Me
Exit Sub
End If
'Control
If KeyCode = 17 Then Exit Sub
'Pause
If KeyCode = 19 Then Exit Sub
'Control + Pause
If KeyCode = 3 Then
MsgBox "KeyCode = 3 => Control + Pause"
Exit Sub
End If
MsgBox "KeyCode = " & KeyCode
End Sub