A combo box may only have one value selected. A list box can have multiple
selections if its MultiSelect property is set to Simple or Extended. You can
then work with the selections using the list box' ItemsSelected property.
For example, to display the list in an adjoining textbox, you could use the
following code (adapted from "Access 97 Developer's Handbook", by Litwin,
Getz, & Gilbert):
With Me![YourListbox]
For Each varItem in .ItemsSelected
strList = strList & .Column(0,varItem) & vbCrLf
Next varItem
Me![YourTextBox] = strList
End With
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.