D delta Member Mar 20, 2018 #1 In userform contain 5 TextBox "TextBox1", "TextBox2", "TextBox3", "TextBox4","TextBox5", "TextBox6", when enter any text in above 5 textbox write in uppercase. pls help me
In userform contain 5 TextBox "TextBox1", "TextBox2", "TextBox3", "TextBox4","TextBox5", "TextBox6", when enter any text in above 5 textbox write in uppercase. pls help me
H Hareesh_KLD Member Mar 20, 2018 #2 Hi Try Following, May be it will work Code: Sub UcaseTextBoxes() For i = 1 To 6 Range("A" & i).Value = UCase(Controls("TextBox" & i).Text) Next i End Sub
Hi Try Following, May be it will work Code: Sub UcaseTextBoxes() For i = 1 To 6 Range("A" & i).Value = UCase(Controls("TextBox" & i).Text) Next i End Sub
Belleke Well-Known Member Mar 20, 2018 #3 Do this for the 6 textboxes. Code: Private Sub TextBox1_Change() TextBox1.Value = UCase(TextBox1.Value) End Sub
Do this for the 6 textboxes. Code: Private Sub TextBox1_Change() TextBox1.Value = UCase(TextBox1.Value) End Sub
D delta Member Mar 25, 2018 #5 Hareesh_KLD said: Hi Try Following, May be it will work Code: Sub UcaseTextBoxes() For i = 1 To 6 Range("A" & i).Value = UCase(Controls("TextBox" & i).Text) Next i End Sub Click to expand... superb
Hareesh_KLD said: Hi Try Following, May be it will work Code: Sub UcaseTextBoxes() For i = 1 To 6 Range("A" & i).Value = UCase(Controls("TextBox" & i).Text) Next i End Sub Click to expand... superb