Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Need to capture the values in a ListView Box using MultiSelect....
Yes it's me again. Just wanted to say this is a great msgboard. I'm very happy with some of the solutions i recieved from here but i have another question.
Just to let you guys/women know i only been doing this for a year so i might have alot of questions that might seem obvious to others. Thanks,
I have a list box and the user can choose either 1 item or multiple items. If it's multiple items then i want to select just whats selected or highlighted. I would like to run an action on all the items that are in the highlighted group or multiselected. Basically my code goes through the list wheither or not it's selected. Need Help Please!!!!
Private Sub cmdASV_Click()
Dim i As Integer
For i = 1 To lvDoc.ListItems.Count 'This loops through the List box.
If lvDoc.ListItems.Selected Then
0 · ·