Solved

Creating selective merge fields when importing source information in Word 2013

Posted on 2015-02-06
1
69 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 50

Accepted Solution

by:
Rgonzo1971 earned 500 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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

860 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