Can table cells shading be conditional on data in a merge database

M

Mike F

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??
 
D

Doug Robbins - Word MVP

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
 
M

macropod

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top