|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to format text inserted as result of If...Then...Else... rule in a mail merge
I have a mailmerge I am running. If a recipient meets a specification, then a standard paragraph needs to be added to the letter at a certain point.
How can I incorporate the formatting so that this section is the same as the rest of the letter? FIELD text: (Dots are indicative of spaces in the code) (all brackets entered with CTRL+F9) {•IF•PMI01-11•>=•"PMI01-10"•"¶ EXECUTIVE BENEFITS:→→Please see the Executive Benefits Overview.¶ Such benefits include a monthly car allowance, financial planning stipend, and health club allowance.¶ ¶ "•""•}¶ EXECUTIVE BENEFITS: should be in bold text. The second sentence should be indented and in italics. A full line of space should be maintained above and below the insertion. I've attached a screen shot of the dialogue box as well. Thanks in advance for any assistance!! |
#2
|
||||
|
||||
Although the dialogue can insert basic text, to do any formatting you need to work with the field code directly. Having inserted the conditions via the dialogue, you can then select the field code in the document and press Shift-F9 to expose its contents. You should see:
{ IF{ MERGEFIELD PAYGRADE } >= "PMI01-10" "¶ EXECUTIVE BENEFITS:→→Please see the Executive Benefits Overview.¶ Such benefits include a monthly car allowance, financial planning stipend, and health club allowance.¶ ¶ " "" }¶ With the field code thus displayed, you can apply the desired formatting.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
formatting, insert text, merge rules |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail Merge in Word: creating a rule for blanks | cgranada | Mail Merge | 6 | 02-27-2017 09:08 AM |
Mail merge result in separate world files instead of one file containing all the data | xdhbsh | Mail Merge | 3 | 12-24-2015 12:23 AM |
Recipients can not view the inserted object (PDF) from my mail merge document | Stacy | Mail Merge | 1 | 02-26-2015 11:24 PM |
Mail Merge IF-THEN-ELSE rule | JLA | Mail Merge | 1 | 11-18-2014 04:24 PM |
Editing the font of text inserted before a merge field | clawschieff | Mail Merge | 6 | 03-19-2013 07:13 AM |