This is using the current CVS HEAD. When I specify: HSSFCellStyle col1 = wb.createCellStyle(); col1.setFillPattern(HSSFCellStyle.SOLID_FILL); col1.setFillBackgroundColor(HSSFCellStyle.PALE_BLUE); All of the cells show up with a black background in Excel (2000). I get the same results using other colors, and all of the other FillPattern constants work fine.
Think about it. You're filling it solid... with the FOREGROUND color. So set the foreground color to blue instead of the background color. I made the same mistake initially and thought it was just Excel being weird...now I get it.
Works. Thanks much, and keep up the good work!
this should probably be in a faq...it triped me up too.