Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Mike F[_2_] Mike F[_2_] is offline
external usenet poster
 
Posts: 4
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   Report Post  
Posted to microsoft.public.word.tables
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
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   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??


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting Cells within a MS Word 2007 Table bjschon Microsoft Word Help 3 May 2nd 23 08:50 PM
White streaks when shading cells in table - tried everything Judith Tables 1 June 28th 07 02:20 PM
why doesn't shading in table not fill all cells? last card lou Tables 6 October 30th 06 09:19 AM
table cells loose shading during merge operation RandyAAEPA Mailmerge 0 September 8th 05 05:36 PM
Locked table/cells for shading tthomas Tables 2 August 23rd 05 02:57 PM


All times are GMT +1. The time now is 02:09 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"