A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Carriage Return Help



 
 
Thread Tools Display Modes
  #1  
Old April 2nd, 2010, 07:27 PM posted to microsoft.public.word.mailmerge.fields
UCHelp[_2_]
external usenet poster
 
Posts: 1
Default Carriage Return Help


Hello. I am using a format that imports data through XML Word
Documents.

The format is {entity.attribute}

for example
{contact.fullname}
{contact.company}
{contact.address1}
{contact.address2}

My problem is, if the contact doesn't have an address 2 line, it will
merge an unwanted carriage return.

How can I make sure this doesn't happen by checking if the line is
empty and thus not putting a carriage return? Many contacts dont have
address line 2s, but some do.




--
UCHelp
  #2  
Old April 2nd, 2010, 09:35 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Carriage Return Help

Responded to your other duplicate post.

Peter Jamieson

http://tips.pjmsn.me.uk

On 02/04/2010 19:27, UCHelp wrote:
Hello. I am using a format that imports data through XML Word
Documents.

The format is {entity.attribute}

for example
{contact.fullname}
{contact.company}
{contact.address1}
{contact.address2}

My problem is, if the contact doesn't have an address 2 line, it will
merge an unwanted carriage return.

How can I make sure this doesn't happen by checking if the line is
empty and thus not putting a carriage return? Many contacts dont have
address line 2s, but some do.




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.