Hi,
I want to highlight the complete row of flexgrid, i m using the below code to search and highlight but it starting the highlight from 2nd column. I have 5 columns, last one of them is hidden as its colwodth is 0
Code:Dim Target As String Dim z As Integer Target = LCase$(Srch) For z = 1 To msh.Rows - 1 If InStr(1, LCase$(msh.TextMatrix(z, 0)), Target) Then With msh Dim y As Integer For y = 1 To .Cols - 1 .Row = z .Col = y .CellBackColor = RGB(145, 175, 210) .CellFontBold = True Next y End With End If Next z


Reply With Quote
