elapouya / python-docx-template

Use a docx as a jinja2 template
GNU Lesser General Public License v2.1
1.91k stars 378 forks source link

Change color cell in table docx by conditional format #476

Open ghost opened 1 year ago

ghost commented 1 year ago

Hello, guys:

I'm trying to change the color cell background of "Estatus" column by: Green if is "Concluded" Yellow if is "In process"

Does someone know how to do it?

I dunno if have to use word Macros, or python or excel to do this from word.