Hi Folks,
Below is a sample code to color code your Excel cell while exporting. In this code, we will be using two assemblies as below
using OfficeOpenXml;
using OfficeOpenXml.Style;
and standard Excel export code with a bit of creativity,
You can be more creative by writing separate methods for major colors and calling them based on cell values.
No comments:
Post a Comment
Thanks