Link to home
Start Free TrialLog in
Avatar of stephenlecomptejr
stephenlecomptejrFlag for United States of America

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
ASKER CERTIFIED SOLUTION
Avatar of JR2003
JR2003

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stephenlecomptejr

ASKER

thank you for asking such a ridiculous question.
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.