AdvStringGrid GetCellColor in preview and print

  1. It does not take suppressed columns in account for preview or print. Use column hiding if this is needed or set grid.PrintSettings.NoAutoSize = true
  2. To export to XLS with cell merging & colors, use TAdvGridExcelIO https://www.tmssoftware.com/site/asg56.asp or the TMS VCL Excel Bridge https://www.tmssoftware.com/site/vclgridexcelbridge.asp