Hi there,
I made this function in VB6 when i trying to make the same in Ecxel with a Texbox1 i recive this message "Type MisMatch", in Excel the Code look like this...
Thanks By First
Code:
Public Sub Capital(str As TextBox)
str = UCase(str.Text)
str.SelLength = Len(str.Text)
End Sub
Private Sub Text1_Change()
Capital Text1
End Sub
Code:
Public Sub Capital(str As TextBox)
str = UCase(str.Text)
str.SelLength = Len(str.Text)
End Sub
Private Sub TextBox1_Change()
Captial TextBox1 <<Here the error
End Sub