I have successfully applied vba code to a text box in a User Form which will convert the first letter of each word to upper case using "vbProperCase".
Private Sub Textbox1_Change()
' Converts first letter of each work in the text to Upper case
With Me.ActiveControl
.Value = StrConv(.Value, vbProperCase)
End With
End Sub
I am looking to apply a Private Sub to a specific worksheet to convert all text input into 2 columns (B and J in rows 5 thru 70).
I have tried to adjust the above code however I keep getting error messages whatever change I make.
Any help would be appreciated
Private Sub Textbox1_Change()
' Converts first letter of each work in the text to Upper case
With Me.ActiveControl
.Value = StrConv(.Value, vbProperCase)
End With
End Sub
I am looking to apply a Private Sub to a specific worksheet to convert all text input into 2 columns (B and J in rows 5 thru 70).
I have tried to adjust the above code however I keep getting error messages whatever change I make.
Any help would be appreciated