View Single Post
 
Old 05-07-2020, 01:58 AM
FredNerk FredNerk is offline Mac OS X Office 2016 for Mac
Novice
 
Join Date: May 2020
Posts: 10
FredNerk is on a distinguished road
Default Can you assist please?

Hi there

I am using the following mail merge code in a Word document (Macos). I can get the colour text i need in the table cell but for the life of me cannot work out what it is I am doing when I follow your various advice for colour shading the background table cell. That is, I want the table cell coloured the relevant shade, and keep the text as automatic.


{ IF { MERGEFIELD LL } = "1" { MERGEFIELD Docname } { IF { MERGEFIELD LL } = "2" MERGEFIELD Docname } { IF { MERGEFIELD LL } = "3" MERGEFIELD Docname } { IF { MERGEFIELD LL } = "4" MERGEFIELD Docname } { IF { MERGEFIELD LL } = "5" MERGEFIELD Docname } } } } } }



When I follow the suggested script and substitute the colour of the second MERGEFIELD M to the first I in each IF statement nothing happens with the background cell shading. I am presuming that is happening because I am using the \*CHARFORMAT switch but the test is not alpha based?


Any suggestions please?


Thank you - much appreciated





Wayne
Reply With Quote