Hi,
I have a form with a control array of 2 ListViews.
On the form, I have 1 command button that I would like a MsgBox to pop
up to tell the user which item they selected..
Problem is, how do I know which listview the user has clicked on. The only
code I would come up with was:
But as you can tell from the code, it only recognized the first control array and notCode:Private Sub Command1_Click() MsgBox "You selected: " & ListView1(0).SelectedItem End Sub
the other array.
Question is, how can I tell which control array the user clicked on so I can substitute
the (0) with the appropriate array number..
Thanks,
Dan


Reply With Quote
