Hi,
I've got a Word document with a table containing multiple rows of text with different colours/shading a bit like:
|Row one text|Info| - Cell shading black, text white
|Row two text|Info| - Cell shading green, text blue
|Row three text|Info| - Cell shading red, text black
|Row four text|Info| - Cell shading red, text black
Number of rows can vary from 1 to 20+ so hiding certain colour combinations isn't an option really.
I can change the row colours OK depending on a range value but am also trying to change the colours of the text at the same time, I'm using this code in the Word doc:
[tmptable.title;block=tbs:row][tmptable.rowColour;att=w:shd#w:fill][tmptable.textColour;att=w:color#w:val] |
Getting an "entity targeted by parameter 'att' cannot be found" for textColour which is due to the block target being tbs:row rather than the text inside the cell. I've tried using w:t in various places but cannot work it out for the life of me!
Is it possible to change two attributes in this way? Any info or workarounds welcomed.
Cheers, Fully