Use the Flexgrid rather than the Datagrid, then you can set individual cell backcolors. To change the background of a whole row for example:
fg1.Row = 2
For i = 0 To fg1.Cols - 1
fg1.Col = i
fg1.CellBackColor = vbGreen
Next i
will colour the whole of the third row green
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'