"Select All" Button for a multi select listbox?

chanson

Registered User.
Local time
Today, 17:02
Joined
Mar 31, 2003
Messages
16
Basically what I am trying to do is setup a listbox that allows multi select (done) with a button, "Select All" that would select every record in the listbox (not done). Has anyone had any experience with something like this?

Thanks in advance for the help!

Caleb
 
Dim i As Integer

For i = 0 To ListBoxNameGoesHere.ListCount - 1
Me.ListBoxNameGoesHere.Selected(i) = True
Next i

hth,
Jack
 
Thanks Jack!
 

Users who are viewing this thread

Back
Top Bottom