brodaddy2002
Board Regular
- Joined
- Jan 21, 2013
- Messages
- 67
I found this code on the internet, but cannot find it again. My question is, what does the numbers 8 and 0 mean? What do they do? Does KeyAscii = 0 make the value "null"?
Private Sub StrikeAltText_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
‘StrikeAltText is the name of the textbox that the user is entering data
Select Case KeyAscii
Case vbKey0 To vbKey9, 8 ‘ I don’t have any idea what the number 8 does.
Case Else
KeyAscii = 0
Beep
End Select
End Sub
Any Help will be greatly appreciated.
Private Sub StrikeAltText_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
‘StrikeAltText is the name of the textbox that the user is entering data
Select Case KeyAscii
Case vbKey0 To vbKey9, 8 ‘ I don’t have any idea what the number 8 does.
Case Else
KeyAscii = 0
Beep
End Select
End Sub
Any Help will be greatly appreciated.