I've started using openpyxl and I'm very impressed.
But I have a problem setting background in a cell.
I reduced the problem to this short program.
import openpyxl
wb = openpyxl.Workbook()
ws=wb.active
ws['A1'] = 'Red background'
fill_style = ws['A1'].fill.copy()
fill_style.bgColor = 'ff0000'
wb.save('good.xlsx') # A1 has white background as expected.
ws['A1'].fill = fill_style
wb.save('bad.xlsx') # A1 should have red background but doesn't.
Using openpyxl 2.3.3, Winpython 2.7.6.4 (32 bit), Windows 7 (64 bit).
Am I doing something wrong or is there a bug?
Thanks
Dominic