Dim cnt As Integer
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)cnt = cnt + 1MsgBox cntEnd Sub
Private Sub Form_Load()cnt = 0End Sub