Microsoft Word - Word 2010 text if then conditional formatting
Asked By D on 22-Jun-12 05:45 PM
I have a Word 2010 mail merge template and I want to be able to set a field text color to blue if another field text = yes.
e.g., Bereaved Parent field = yes then whatever text is in the Shirt field will be blue
Vikram Singh Saini replied to D on 24-Jun-12 08:15 PM

Hi,
I have framed solution for your requirement and tested it.
Follow steps: (Field values modified in demo apps but it would work)
(1) I have put two fields during mail merge wizard steps. Fields used are
State and
City. You can replace them with
Bereaved Parent field and
Shirt field respectively.
(I hope you are aware of adding fields to the mail merge template)
(2) I have put condition for checking if State is Rajasthan, then the City field should be visible with blue color else Other. Here is the condition logic
(visible in Template by using Alt-F9):
How are you? Living in { MERGEFIELD State }? I think you are living in City { IF {MERGEFIELD State } = "Rajasthan" "{ MERGEFIELD City }" "Other" }
The same above query in your case would be as:
{ IF {MERGEFIELD BereavedParentField } = "yes" "{ MERGEFIELD ShirtField }" "Other" }
Note: Point to be noticed:- As you can see in conditional logic
we have made the fields City and ShirtField blue in color including quotation. Yes! That would make the text appears blue while using conditions. And that's the solution.
Precaution: The value such as "yes" or "Rajasthan", which is used to compare with field values should be exactly same in case-wise too. Else it will not work as expected.
(3) Save the template and test it. Finally let us know if it helped or not and if left any doubts.

I have been using mail merges in Word 2007 / Windows XP and have recently upgraded my computer to Windows 7 / Word 2010. I am not able to use my existing mail merge documents now, when I try to start the merge I receive the error "Record
Merging onto a label in Word 2010 Word
I have a label format I want to do a Mail Merge on. I have done it in the past, but do not know what I Print | Color | Price | Color2 | Color3 | Color4 | Color5 | Color6 | color7 etc. I select recipient list in Word 2010, add my fields to the blank document and finish and merge (or preview) and instead of each, it is making a full sheet of each! Here is the merge in Word: = ABSTYLE = BB- = ABPRINT = BB = ABCOLOR = BB = ABPrice = BB AVAILABLE IN: = ABCOLOR2 = BB = ABCOLOR3 = BB = ABCOLOR4 go to the next record. My colors and / or style-print numbers get messed up. Word Mail Merge Fields Discussions Word 2010 (1) Excel (1) Color (1) Print (1) Merge (1
How do I insert a file in Word 2010? Word
How do I insert a file in the current document in Word 2010? In Word 97 it was easy. Insert - --> File But "file" does not appear in the new ribbon I suppose I could always convert the docx documents to doc, perform the operation in Word 97, and then co nvert them back to .docx, but that seems a bit cumbersome. - - Steve Hayes from Tshwane, South Africa Blog: http: / / khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk Word
How do I get a picture to go where I want it to go in Word 2010? Word
I am trying to place a picture next to a paragraph in word 2010. When I drag it there, it jumps to the top of the page. If I and STAY down? - - Steve Hayes from Tshwane, South Africa Blog: http: / / khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk One method I found helpful is using "Frames". Click on "help" in your version of Word and see what it says about inserting frames. You create a frame (size can be position the graphic relative to the page, margins, paragraph, etc. - - Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http: / / word.mvps.org keywords: How, do, I, get
Cannot Update my computer Windows 7
of the log into your reply, please. MowGreen [MVP 2003-2007] = = = = = = = = = = = = = = = *-343-* FDNY Never Forgotten = = = = = = = = = = = = = = = 2010-05-07 13:58:39:189 1300 11f4 Agent * Title = Security Update for Windows Vista (KB980232) 2010-05-07 13:58:39:189 1300 11f4 Agent * UpdateId = {0F6F26DC-954A-4B23-8CC4-1449D8100EB1 102 2010-05-07 13:58:39:189 1300 11f4 Agent * Bundles 1 updates: 2010-05-07 13:58:39:189 1300 11f4 Agent * {72A0ABD5-DACF-42E2-96D0-9404E9E849FF}.102 2010-05-07 13:58:39:189 1300 11f4 Agent * Title = Update for Microsoft Office Word 2007 (KB974561 2010-05-07 13:58:39:189 1300 11f4 Agent * UpdateId = {9452E2DD-399E-430C-A7F6-81065B8BD447}.105 2010-05-07 13:58:39:189 1300 11f4 Agent * Bundles 1 updates: 2010-05-07
Styles and hanging indents in Word 2010 Word
For the first time I am trying to create a new document in Word 2010 (rather than just editing documents created in Word 97. I want to create a style called Bibliography, with a hanging indent - - but how I suppose I could save the document as the old version, create the style in Word 97, a nd continue working from there. I see a lot of stuff in Word 2010 that I cannot imagine ever wanting to use like "intense" this or that, but
view non printing formatting in word 2010 Word
HELP. . .I helped a friend make her resume on a new Mac with word student / home 2010. She did all the work and I just prettied it up. (must say I am off, and I am concerned that it will print. Also in previous versions (PC) of word I have been able to turn off and on the formatting marks. This is very helpful when a non word processor types up her resume and uses the space bar. Is there some way I can see the formatting? any help appreciated! quilter MAC Office Word Discussions Word 2010 (1) Adobe (1) Standard (1) Grid (1) Formatting (1) No, you did
Word 2010 a .NET implementation? .NET Framework
Hello Will Word 2010 now be a .NET implementation? Thanks - Studi1 Xml Discussions Word 2010 (1) Finland (1) Vantaa (1) Jani (1) Rewritten (1) Rvinen (1) Janij (1) XML (1 question, here goes: If you mean a 100% .NET implementation, then the answer is no. Word is an old application with lots of history, and it is unlikely that it will (for a long time at least) be rewritten as a pure .NET application. However, Word already has support for .NET code, and most likely the 2010 version will be a
Stampit Barcode beim Portodruck mit Word 2010 beta fehlt / winzig Word
Beim Portodruck mit Stampit Home 3.2 in Word 2010 beta wird der Barcode nicht ausgedruckt bzw. ist winzig klein im linken Bereich der Absenderzeile Testdruck funktioniert alles ganz normal. Wie kann das behoben werden oder liegt ein Softwarefehler vor? Word - German Discussions Word 2010 (1) Softwarefehler (1) Absenderzeile (1) Hersteller (1) Portodruck (1) Offiziell (1) Testdruck (1) Stampit (1