I need advice on setting styles in Openpyxl.
I see that the NumberFormat of a cell can be set, but I also require setting of font colors and attributes (bold etc). There is a style.py class but it seems I can’t set the style attribute of a cell, and I don’t really want to start tinkering with the openpyxl source code.
Has anyone found a solution to this?
As of openpyxl version 1.5.7, I have successfully applied the following worksheet style options…
FYI, you can find the names of the colors in
openpyxl/style.py… I sometimes I patch in extra colors from the X11 color names