I am trying to select a listbox entry so that it matches an array value. This is in a search routine so that if the text in TextBox1 matches the search criterion [in this case, SearchArray(zzz, 4)], then the selected value, in text, not index number, of ListBox1 matches the string value of SearchArray(zzz, 5).
If oDialog1.getControl(“TextBoxx1”).Text = SearchArray(zzz, 4) Then
oDialog1.getControl(“ListBox1”).??? = SearchArray(zzz, 5)
End If
What might replace the question marks?
Thanks in Advance.