Select the items programmatically : ListBox « Forms « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Forms
- ListBox
Select the items programmatically
Private Sub SelectAllButton_Click()
For r = 0 To ListBox1.ListCount - 1
ListBox1.Selected(r) = True
Next r
End Sub
Related examples in the same category