pedie
Well-known Member
- Joined
- Apr 28, 2010
- Messages
- 3,875
Hi is there a way for VBA to return Listbox selected item row count.
I tried few ways like the ones below but wont work...
Please advice..
I tried few ways like the ones below but wont work...
Please advice..
Code:
[/FONT]
[FONT=Courier New]Option Explicit[/FONT]
[FONT=Courier New]Private Sub ListBox1_Click()
MsgBox Me.ListBox1.Item.Count[/FONT]
[FONT=Courier New] MsgBox Me.ListBox1.selectedrow.Count[/FONT]
[FONT=Courier New]End Sub