well i haven't tried to work out what you're trying to do, but here's how you change the backcolor of a groups of cells (without looping):
VB Code:
  1. With MSFlexGrid1
  2.     .Redraw = False
  3.     .FillStyle = flexFillRepeat
  4.  
  5.     ' top left of the section you want to change
  6.     .Col = 1
  7.     .Row = 3
  8.  
  9.     ' bottom right of the section
  10.     .ColSel = 3
  11.     .RowSel = 5
  12.  
  13.     ' Set any cell properties
  14.     .CellBackColor = vbBlue
  15.    
  16.     .FillStyle = flexFillSingle
  17.     .Redraw = True
  18. End With
you might be interested in looking at the MSFlexGrid selection link in my signature for an example of this in practice.