Hi.
Try
ListBoxItem instead of ListItem.
And then take care of the new Properties of the i-Variable...
And if you do alot of Splitstring-Operations use a .Trim to be shure the String can Split without errors...
For Each i As ListBoxItem In CheckedListBox1.Items
For Each s As String In intersts.Split(";"c)
If i.Value = s.Trim Then
i.Selected = True
Exit For
End If
Next
Next
A can´t Test it now, so I don´t memorize if i.Value and
i.Selected can be used.
Maybe
i.IsSelected ??? but I think the IDE will help You with that...
c.u. and Happy Coding
Joshi