With Python and openpyxl:
Is it possible to color a single character in a cell's text? I'd like to color the character for a diamond (U+25C6) red. Currently I'm doing this:
WorkSheetOne.cell(row=CombBarLineDataOffsetFromTop+6, column=1, value="Monthly Average -◆-") # you should see the diamond here
WorkSheetOne['A' + str(CombBarLineDataOffsetFromTop+6)].font = Font(bold=True)
WorkSheetOne['A' + str(CombBarLineDataOffsetFromTop+6)].alignment = Alignment(horizontal="center")
It displays the diamond and I can edit the excel file and make the diamond red but I have so many of these I need to get the Python to do it.