|
-
Jun 7th, 2005, 02:57 PM
#1
Thread Starter
PowerPoster
ListBox control in VBA Access
I am using the ListBox control in a VBA Access application. It's the first time to and I am a little confused. I have the "multi select" property set to true. How can I determine if a user clicks on a several values and then changes there mind and deselects them. Is there a way to determine this?
Thanks,
Blake
-
Jun 7th, 2005, 03:01 PM
#2
Re: ListBox control in VBA Access
To see which items are selected you can use this :
VB Code:
Dim i As Integer
For i = 0 To List1.ListCount - 1
If List1.Selected(i) = True Then
MsgBox List1.List(i)
End If
Next
Has someone helped you? Then you can Rate their helpful post. 
-
Jun 7th, 2005, 04:23 PM
#3
Thread Starter
PowerPoster
Re: ListBox control in VBA Access
Thanks manav...that worked great!!!!
-
Jun 8th, 2005, 03:28 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|