A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2010, 10:27 PM posted to microsoft.public.word.tables
MIKE F
external usenet poster
 
Posts: 8
Default 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  
Old May 4th, 2010, 04:16 AM posted to microsoft.public.word.tables
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default 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  
Old May 4th, 2010, 06:37 AM posted to microsoft.public.word.tables
macropod[_2_]
external usenet poster
 
Posts: 2,402
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??


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.