I
iccsi
I tried to process something for 2 list box and need to iterate 2 of
them and one iterates selected items one iterates all list
For i = 1 To lst1.ListCount
For Each VarItem In lst2.ItemsSelected
' my loop is here
Next VarItem
Next i
It seems that every VarItem increase the i increase as well.
I want VarItem to be inner loop which should be finish all seleted
item and go to next i.
Where is wrong to use above code?
Any information is great appreciated,
them and one iterates selected items one iterates all list
For i = 1 To lst1.ListCount
For Each VarItem In lst2.ItemsSelected
' my loop is here
Next VarItem
Next i
It seems that every VarItem increase the i increase as well.
I want VarItem to be inner loop which should be finish all seleted
item and go to next i.
Where is wrong to use above code?
Any information is great appreciated,