|

SearchText


(string) The string of text to search for in the listbox object. You can use the * and ? wildcards in this field to search for text that matches a specific pattern.


Re t u r n s


(number) The first item index where the search string was found. If the string was not found or an error occurs, the value -1 (variable LB_ERROR) is returned. You can use Application.GetLastError to determine whether this action failed, and why.


|