Jul 3, 2006 #1 jpaulino Programmer May 28, 2002 26 DE Hi experts, I want to do something like this: Dim x as byte For x = 1 to 30 CType(“TextBox” & x, Textbox).Text = “Test nº “ & x Next x This doesn't work! How can I select one control based on a string? Can anyone help me with a sample code? Tanks Jorge
Hi experts, I want to do something like this: Dim x as byte For x = 1 to 30 CType(“TextBox” & x, Textbox).Text = “Test nº “ & x Next x This doesn't work! How can I select one control based on a string? Can anyone help me with a sample code? Tanks Jorge
Jul 3, 2006 #2 mansii Programmer Oct 18, 2002 641 ID Have you taken a look at the FAQs? There's one great FAQ by chrissie1. Good luck. Upvote 0 Downvote
Jul 3, 2006 #3 chrissie1 Programmer Aug 12, 2002 4,517 BE you mixed up your words manssi, that should have been. "There's one FAQ by the great chrissie1." Christiaan Baes Belgium "My new site" - Me Upvote 0 Downvote
you mixed up your words manssi, that should have been. "There's one FAQ by the great chrissie1." Christiaan Baes Belgium "My new site" - Me
Jul 3, 2006 Thread starter #4 jpaulino Programmer May 28, 2002 26 DE Ok, thanks ... Upvote 0 Downvote