I am using c# to color particular cells of excel file. I am using:
Application excel = new Application(); Workbook wb = excel.Workbooks.Open(destPath); Work
If you want to set color by color index, you need to use this method:
Cells[row, col].Interior.ColorIndex = 36;