Hi all,
I need a help again. How to set the textbox auto change to Upper Case without on the Caps Lock Key.
I need a help again. How to set the textbox auto change to Upper Case without on the Caps Lock Key.
UCase(Text1.Text)
Text1.Text = UCase$(Text1.SelStart)
Private Sub Text1_KeyPress(KeyAscii As Integer) Select Case KeyAscii Case 97 To 122 KeyAscii = KeyAscii - 32 End Select End Sub
Private Sub txtPro_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) End Sub
Private Sub txtPro_KeyPress(KeyAscii As Integer) KeyAscii = Asc(UCase(Chr(KeyAscii))) End Sub
Comment