Feeling foolish coming up with these silly things but God knows why, the last few days, I've been hamstrung by these trivial errors.
This code does what it is supposed to do only while I step through it. When I run it, whether in the IDE or in the EXE, it does not block non-numeric characters. It let's me enter all kinds of characters.
Code:Private Sub txtNewIPAddress_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyBack Or vbKeyDelete Or Asc(".") Or vbKeyHome Or vbKeyEnd
Case 48 To 57
Case Else
KeyCode = 0
End Select
End Sub
