Good evening, everyone. I'm pretty much a beginner in VB and would like to ask some questions.
Assume I have 1 variable (variable1) and some text boxes (textbox1, textbox2, etc).
If I want to fill the text "texttexttext" to a textbox, which name is defined in variable1, how could I do that?
Example:
Variable1 = (name of something)
(name of something).text ="texttexttext"
Also, if there's any way to shorten this kind of code, i would like to know:
(perhaps by making a "group" of objects, so i'll just have to call the group name to do the same thing with these objects?)
textbox1.value = "aaa"
textbox2.value = "aaa"
textbox3.value = "aaa"
. . . . . . .
textbox99.value = "aaa"
textbox100.value = "aaa"
Thanks in advance.
Bookmarks