Can I use a loop to reference an object?
I have 10 list boxes list0 - list9 and I want to perform actions on all of them. Instead of referencing them individually can I reference then from inside a loop? ie
For IntN=0 To 9
list & IntN.Visible=False
Next IntN
Obviously the above example does not work but it shows what I am trying to do.
solo7![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)
I have 10 list boxes list0 - list9 and I want to perform actions on all of them. Instead of referencing them individually can I reference then from inside a loop? ie
For IntN=0 To 9
list & IntN.Visible=False
Next IntN
Obviously the above example does not work but it shows what I am trying to do.
solo7
![[thumbsup2] [thumbsup2] [thumbsup2]](/data/assets/smilies/thumbsup2.gif)