if StringGrid1.Cells[ACol,ARow] = 'highlight it' then StringGrid1.Canvas.Brush.color := clPalered else StringGrid1.canvas.brush.Color := clwhite;