I have the following loop which goes through and adds items to a
listbox. the items have been selected by the user from a file open
dialog. Right now all that shows up is the filename. I would like to be
able to number the files so that it looks better. How can I modify this
code to add item numbers?
--Code Start--
For Each varItem In dlgopenfile.sel ecteditems
LstAttachment.A ddItem varItem
LstAttachment2. AddItem PathOnly(varIte m)
Next
I only need to add line numbers to lstattachment2.
thank you
Colin Ward
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment