This project has moved and is read-only. For the latest updates, please go here.

Get NOT Set Cell BackgroundColor

Feb 12, 2014 at 8:48 PM
Hi Jan,

I've looked everywhere trying to figure out how to read a cell BackgroundColor. I know how to set it, but I can't seem to read it. How would I change this up to read the value in Hex - like #FFFFFF ?

Thank you !
ws.Cells["A1"].Value = "Test";
ws.Cells["A1"].Style.Font.Bold = true;
ws.Cells["A1"].Style.Fill.PatternType = ExcelFillStyle.Solid;