lukeshuttlewood
Board Regular
- Joined
- Jul 27, 2004
- Messages
- 90
Hi,
I have a list of combo boxes named like this on a form:
combobox1
combobox2
combobox3 etc
Since there is so many of them, is it possible to call them in a way such as below?
I cannot get the syntax right......
Thanks
Luke
I have a list of combo boxes named like this on a form:
combobox1
combobox2
combobox3 etc
Since there is so many of them, is it possible to call them in a way such as below?
I cannot get the syntax right......
Code:
x = 10
Do While x > 0
ComboBox(x).AddItem "TRUE"
ComboBox(x).AddItem "FALSE"
x = x - 1
Loop
Thanks
Luke