if you want to set the back color of the cells, you can use something like this...
Code:
/// where objSheet is an excel.Worksheet
objSheet.Cells(1, 1).Interior.ColorIndex = 45 /// 45 being the color ( red i think ) just mess with the values to see what colors appear.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.