View Single Post
  #3   Report Post  
Posted to microsoft.public.word.tables
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Can table cells shading be conditional on data in a merge database

Alternatively, one could use an If...then...Else field construction to output different tables, shaded according to whatever the
colouring criteria are.

--
Cheers
macropod
[Microsoft MVP - Word]


"Doug Robbins - Word MVP" wrote in message ...
By the use of an If...then...Else field construction that returned mergefields to which the Charformat switch was added, you could
control the colour of the font for the result, but not the shading of the cells.

If would be necessary to use VBA to control the colour-shade of the cells.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

"Mike F" Mike wrote in message ...
I'd like to use a word document containing tables as the basis of a merge
document. The database will contain certain numbers and I would like to
colour-shade certain numbers of table cells according to the numerical data
in the database.

Anyone suggest how to do this??