Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default How can I apply conditional formating to a Word mergefield?

One way to do simple formatting of this kind is to use an IF field to
insert the mergefield with one format or another, e.g. insert

{ IF "{ MERGEFIELD myfield }" = "A" "{ MERGEFIELD myfield }" "{
MERGEFIELD myfield }" }

then colour the second { MERGEFIELD myfield } (the one immediately after
the "A") yellow.

All the {} need to be the special field code braces that you can insert
using ctrl-F9.


Peter Jamieson

http://tips.pjmsn.me.uk

On 03/11/2009 00:19, BruceAus wrote:
I would like to able to change the text colour in a mergefield based on the
returned value. For example, if the returned value is "A" I would like to
change the text colour to Yellow. Is this possible

 
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
Creating styles with conditional formating vojo Microsoft Word Help 2 January 28th 09 05:59 PM
Conditional Formating Daedalus1 Tables 1 December 5th 08 03:07 AM
Conditional Formating Lisa Mazzanti Microsoft Word Help 1 May 16th 08 06:22 PM
Mergefield conditional, need to skip blank line Julie B Mailmerge 2 March 27th 08 05:30 PM
Conditional Formating Manny Tables 2 May 28th 07 08:54 PM


All times are GMT +1. The time now is 08:55 AM.

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

About Us

"It's about Microsoft Word"