Hey, I think it's a simple code but I can't resolve how to do it..
I have a combobox and I want to "Add All" to a listbox, but without removing them from the combobox..
Here is my code, please help me fix it:
If ListBox1.Items.Contains(ComboBox1.Items) Then
MsgBox("You can't add those items twice.", MsgBoxStyle.Exclamation)
Else
Dim Item As String
For Each Item In ComboBox1.Items
With ListBox1.Items
.Add(Item)
End With
Next
End If