In code how can I goto the last line of a listbox?
------------------
Matt G
Either [email protected]] or [email protected]
Printable View
In code how can I goto the last line of a listbox?
------------------
Matt G
Either [email protected]] or [email protected]
I i am right, you can do like this.
List1.List(List1.ListCount - 1)
now you have the last item from the listbox.
and if you want to read every items from the listbox you can do like this
dim i as integer
for i = 0 to list1.listcount - 1
list2.additem list1.list(i)
next