Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15122

[RESOLVED] Need help with a loop

$
0
0
Hello everyone on vbforums
I have a array of 10 coboboxes and 10 textboxes.
I am doing something like this:

Code:

If Index = 1  then text1(1).text = combo1(1).text
But I wonder if I can do that in a loop

Code:

Dim i As Integer
For i = 1 To 10
Text1(i).Text = Combo1(i).Text
Next i


Viewing all articles
Browse latest Browse all 15122

Trending Articles