Can I create a variable at runtime such as follows?
dim i as integer
for i = 1 to loopcount
dim ListItem & i as listitem
Set ListItem & i = lstConnections.ListItems.Add()
ListItem & i.Text = "Item 1"
next i
I know this doesnt work but is there a way in VB to make this work?
Thanks!


Reply With Quote
