Update Cell color in datatable

Hi… Is it possible to update the cell colour in a datatable before writing to excel?

impossible.

Hi @VanithaRajakumar,

you can store the value like below. Check the link.

System.Drawing.Color c = System.Drawing.Color.FromArgb(int);

int x = c.ToArgb();

Regards
Balamurugan.S

@VanithaRajakumar

We have activities to set color for the range or cell in excel but not in the data table .

Thank you all for response. @balupad14… I will check this as well.

1 Like

Vanitha, there is an alternate way I have found, Please check this demo and let me know if it helps: