Highlight Flex Grid Row

I have a flex grid that I want to highlight a specific row on.  I have a simple algorithm to get to the row I want to highlight, but what can I do to actually highlight it?
neymeyerAsked:
Who is Participating?
 
Erick37Connect With a Mentor Commented:
With MSFlexGrid1
   .Col = 1 ' start selection in this column
   .Row = 2 ' start selection in this row
   .ColSel = 3 ' end selection in this column
   .RowSel = 2 ' end selection in this row
   .SetFocus
End With
0
 
BeedleGuisCommented:
I'm pretty sure the only way is to loop through each col and change the backcolor.
For intI = 1 To Me.MSFlexGrid1.Cols -1    
    Me.MSFlexGrid1.Col = intI
    Me.MSFlexGrid1.CellBackColor = vbRed
Next intI
0
 
neymeyerAuthor Commented:
That did it perfectly, except for the .SetFocus line, that should be omitted.  Thanks!
0
All Courses

From novice to tech pro — start learning today.