stephenlecomptejr
asked on
list items that are selected in a listbox....
I'm trying the following code to list the data presented in a list box. But I don't get the actual text that I'm searching for...
It's a list box of paths to various drawings! When I run it I get various numbers... There are no columns associated with this if I'm correct.
For n = 0 To frmList.lstPaths.ListCount - 1
If frmList.lstPaths.Selected( n) = True Then myItem = frmList.lstPaths.ItemData( n)
MsgBox myItem
next n
It's a list box of paths to various drawings! When I run it I get various numbers... There are no columns associated with this if I'm correct.
For n = 0 To frmList.lstPaths.ListCount
If frmList.lstPaths.Selected(
MsgBox myItem
next n
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I meant thank your answering such a ridiculous question...
wasn't sure...since was not working because of another glitch...
kinda stressed out. ***
Thanks again.
wasn't sure...since was not working because of another glitch...
kinda stressed out. ***
Thanks again.
ASKER