?
Solved

Creating selective merge fields when importing source information in Word 2013

Posted on 2015-02-06
1
Medium Priority
?
102 Views
Last Modified: 2015-02-10
I will be adding this series («Companyname»«Firstname»«Lastname») to a variety of documents. During a merge in some instances the info will be a Companyname, in others, Firstname Lastname. When Companyname is used I want Firstname Lastname to be blank, not spaces, and when firstname lastname is used I want companyname to be blank (not a space) and a space to be included between firstname lastname.
0
Comment
Question by:vjstech
1 Comment
 
LVL 54

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40596728
Hi,

Why not try with IF

{ IF  { MERGEFIELD CompanyName  } = "" "{ MERGEFIELD FirstName  } { MERGEFIELD LastName  }" { MERGEFIELD CompanyName  }  }

for reference
http://word.mvps.org/faqs/mailmerge/mmergeiffields.htm

Regards
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently resolved a client's Office 2013 installation problem and wanted to offer an observation that may help you with troubleshooting similar issues. The client ordered three Dell Optiplex system units with the Windows 7 downgrade option inst…
PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
This video walks the viewer through the process of creating Hyperlinks for the web and other documents. Select the "Insert" tab: Click "Hyperlink":  Type "http://" followed by a web address to reference a website or navigate to a document to ref…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question