Hi,
I would like to do a "simple" thing. I tried to search but I don't know what to search.
I have a lot of textboxes and labels. The labels has the same name than textboxes, only with a "L" at the end of the name:
textbox1 -> textbox1L
textbox2 -> textbox2L
textbox3 -> textbox3L
...
When I do some changes in textbox1, i would like to make some forecolor or visible changes to the label.
I would like to "call" the label with a string, like textbox1.name & "L"
So, i would like to be able something like:
GetTheLabelFromString(textbox1.name & "L").visible = true
Thanks for your help.


Reply With Quote


Bookmarks