What're you trying to acomplish?
>Hi,
>
>In a combo box I can search for a value by using the following code.
>
>
>
>for x = 1 to cboBank.listcount
> cboBank.ListItem = x
> if cboBank.ListItem = gcBank Then
> Exit
> EndIf
>
>Next
>
>
>
>When I try to do the same in the ListBox the ListItem does not seem to increment and thus doesn't find the matching value.
>
>What am I doing wrong.
>
>Thanks for your time and patience.
>
>Michael Brennan-White
--sb--