If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Can table cells shading be conditional on data in a merge database
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?? |
#2
|
|||
|
|||
Can table cells shading be conditional on data in a merge database
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?? |
#3
|
|||
|
|||
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?? |
Thread Tools | |
Display Modes | |
|
|