I am trying to put the items selcted in a multiselect ListBox into a String. I am using the following code but it is not working properly. It will not display each selection, only one selection multiple times. Here is my code:
Dim varItem As Variant
Dim txtTemp As String
For Each varItem In Me.Hospital_Characteristics.ItemsSelected
txtTemp = txtTemp & Me.Hospital_Characteristics.Column(0) & " "
Next
Me.HCString = txtTemp
Any Ideas???Thanks!
Dim varItem As Variant
Dim txtTemp As String
For Each varItem In Me.Hospital_Characteristics.ItemsSelected
txtTemp = txtTemp & Me.Hospital_Characteristics.Column(0) & " "
Next
Me.HCString = txtTemp
Any Ideas???Thanks!