' Select the ListControl element with a given value' Example: SelectItemFromValue(ListBox1, "hellovalue")Sub SelectItemFromValue(ByVal lst As ListControl, ByVal value As String) lst.SelectedIndex = lst.Items.IndexOf(lst.Items.FindByValue(value))End Sub