Hi,
With the code below I can retrieve the values that are selected from a multiselect listbox. But this code doesn't work for a combobox. The selected values aren't saved in the variable strOffice. What do I need to change? Thank you for the reaction.
Kind regards,
Code:For Each varItem In Me.List35.ItemsSelected strOffice = strOffice & ",'" & Me.List35.ItemData(varItem) & "'" Next varItem