Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2013, 10:58 AM
victoria victoria is offline Mail Merge - If Then help Windows 7 64bit Mail Merge - If Then help Office 2010 64bit
Novice
Mail Merge - If Then help
 
Join Date: May 2013
Posts: 1
victoria is on a distinguished road
Default Mail Merge - If Then help

We use a software program where we enter the person's first name and nickname. How do I set up a merge field in Word to use the nickname and if there is not a nickname to use the first name?


Nickname= <<PrefName>> First Name= <<Fname>>
Reply With Quote
  #2  
Old 05-09-2013, 03:35 PM
macropod's Avatar
macropod macropod is offline Mail Merge - If Then help Windows 7 64bit Mail Merge - If Then help Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

The field construction would be:
{IF«PrefName» = "" «Fname» «PrefName»}

Note: The field brace pairs (ie '{ }') for the above example are created in the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message. Likewise, you can't type or copy & paste the chevrons (ie '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Duplication of address on merge RICKY Mail Merge 1 09-26-2012 03:14 PM
Mail Merge - If Then help Can merge be done without mail merge? John H. Power Mail Merge 1 06-05-2012 11:58 AM
Mail Merge - If Then help Conditional merge fields in mail merge Aude Mail Merge 1 01-06-2012 07:38 PM
Mail Merge - If Then help From a beginner: Mail Merge using Windows Mail mhalpern705 Mail Merge 3 12-16-2011 04:58 AM
Mail Merge - If Then help Saving INDV mail merges During the mail merge sedain121 Mail Merge 2 10-04-2011 07:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:02 AM.


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