G
Guest
i have a multicolumn list box, "ListBox1", with this statement on it's click
event.
Private Sub ListBox1_Click()
If ListBox1.ListIndex <> -1 Then
Rows(ListBox1.ListIndex + 2).Select
End If
End Sub
i have made this list box a MultiSelect listbox. how can i modify this code
to make it select the multiple rows as if the user was holding Ctrl and
selecting rows? TIA.
event.
Private Sub ListBox1_Click()
If ListBox1.ListIndex <> -1 Then
Rows(ListBox1.ListIndex + 2).Select
End If
End Sub
i have made this list box a MultiSelect listbox. how can i modify this code
to make it select the multiple rows as if the user was holding Ctrl and
selecting rows? TIA.