Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-12-2015, 08:10 PM
DougMVP DougMVP is offline IF... THEN... ELSE... rule to insert a Mailmerge Field Windows 7 32bit IF... THEN... ELSE... rule to insert a Mailmerge Field Office 2010 32bit
Advanced Beginner
 
Join Date: Nov 2013
Posts: 50
DougMVP will become famous soon enough
Default

You most certainly can use an If...then...Else field to insert the contents of a MergeField

For your example, insert the following mergefields and text

«OKtoPublish» = True «PhoneNumber» ""

then, select the above mergefields and text and press CTRL+F9 which will enclose it in a pair of field delimiters

{ «OKtoPublish» = True «PhoneNumber» "" }

Then insert the word IF as shown below

{ IF «OKtoPublish» = True «PhoneNumber» "" }

Then press ALT+F9 twice to toggle of the display of the field codes in the document.

Note: You MUST use CTRL+F9 to insert the field delimiters. It will NOT work if you insert the directly by the use of the { and } keys.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF... THEN... ELSE... rule to insert a Mailmerge Field Using IncludePicture and MailMerge to insert picture Elena Mail Merge 25 02-06-2022 05:35 PM
Removing Return from Address field in Mailmerge Formd Mail Merge 2 04-27-2015 10:07 PM
Mailmerge field format? Rothera85 Mail Merge 9 05-11-2014 03:41 PM
IF... THEN... ELSE... rule to insert a Mailmerge Field Mailmerge printing with field names Jvallee Mail Merge 9 04-16-2014 06:30 PM
IF... THEN... ELSE... rule to insert a Mailmerge Field Yes/No field does not work in mailmerge Abacus1234 Mail Merge 10 10-14-2013 06:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:45 AM.


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