Re: Search in InputBox VB6
Try converting to lower case both sides
Code:
If LCase(MSHFlexGrid1.TextMatrix(r, 7)) = LCase(target_name) Then
Re: Search in InputBox VB6
Hi
what was to help the conversion?
Re: Search in InputBox VB6
Your code is only trying to select the first match
Honestly I am not sure how to multiselect items in the flex grid via code but I would imagine you would have to add to the selection.
Clearly your code is exiting when it finds a match thanks to the exit sub you have in there
Without that it would look through the rest of the grid but would likely show the last match only then as you are setting the selection to the row which matches
I would suggest a search for flex grid multi select via code and of course remove the exit sub to allow it to keep looking after it finds a match