Sure can, you would need to use code similar to this,
Code:
Dim i as Integer
With MSFlexGrid1
For i = 0 to .rows-1
.Row = i
.Col = 0
.ColSel = .Cols - 1
.FillStyle = flexFillRepeat
if i mod 2 = 0 And .row > 0 Then
.CellBackColor = vbYellow
Else
.CellBackColor = vbGreen
End If
Next i
End with
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.