I have this below macro that search If MSHFlexGrid1.TextMatrix(i,
2) = new_user.Text.
What i'm trying to do it to get focus on the cell in the MSHFlexgrid that have the same value from new_user.Text if there is a match.
How can i do that?
Thanks for your help.
Dim i As Long
For i = 1 To MSHFlexGrid1.Rows - 1
If MSHFlexGrid1.TextMatrix(i, 2) = new_user.Text Then
MsgBox "User already exist"