Hi Ganesan,
Thank you for your quick reply.
It works. But now i've encoutered another problem.
It seems that some color are not exported.
I've modified your project to intertwined a light gray line
with the light sky blue line:
if (e.Cell.RowIndex % 2 == 0)
e.Style.Background = Brushes.LightSkyBlue;
else
e.Style.Background = new SolidColorBrush(Color.FromArgb(0xFF,
0xEB, 0xEB, 0xEB));
The light gray line are not exported.
Thanks,
P.OM
Reportive SA
VG-ExportToExcel-color-problem_7a867bb9.zip