i want type Only characters 0123456789 and / for data textbox . sample 6/13/2021 how type only 1234567890 and /
Private Sub Data_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If (KeyAscii < 48 Or KeyAscii > 57 And KeyAscii <> 111) Then KeyAscii = 0
End Sub