Sorry, i didn't get your message fully (because i don't know english perfectly, yeah), but as I understood you're trying to say that i need to use "If". I tried to do it, and, well, it works, but i use to many code on that:
Code:
x = Val(TextBox1.Text)
if x = 2 Then TextBox2.Text = "blahblahblah"
if x = 3 Then TextBox3.Text = "blahblahblah"
if x = 4 Then TextBox4.Text = "blahblahblah&qu
how can i make textbox(n).text, how can i control n to write something in there
Guys! Please help me! For example, i have a programme. There are 4 textboxes and 1 button. So i write in the first textbox a number 2, 3 or 4 and then in one of the textbox programme writes something (doesn't matter what):
Code:
Dim x As Integer
Sub Button1.Click(....)
x = Val(TextBox1.Text)
TextBox(x).Text = "blahblahblah"
End Sub
I hope i wrote it clear and you understand what i want...
Leave a comment: