Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2016, 12:11 PM
catt33 catt33 is offline How to format text inserted as result of If...Then...Else... rule in a mail merge Windows 7 32bit How to format text inserted as result of If...Then...Else... rule in a mail merge Office 2010 32bit
Novice
How to format text inserted as result of If...Then...Else... rule in a mail merge
 
Join Date: May 2011
Location: Chicago, IL USA
Posts: 2
catt33 is on a distinguished road
Question 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!!
Attached Images
File Type: jpg If Then Else Screen Shot.JPG (71.6 KB, 15 views)
Reply With Quote
  #2  
Old 01-13-2016, 02:17 PM
macropod's Avatar
macropod macropod is offline How to format text inserted as result of If...Then...Else... rule in a mail merge Windows 7 64bit How to format text inserted as result of If...Then...Else... rule in a mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

Tags
formatting, insert text, merge rules

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to format text inserted as result of If...Then...Else... rule in a mail merge Mail Merge in Word: creating a rule for blanks cgranada Mail Merge 6 02-27-2017 09:08 AM
How to format text inserted as result of If...Then...Else... rule in a mail merge 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

Other Forums: Access Forums

All times are GMT -7. The time now is 05:42 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft