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  

Merge questions: Skip blank filed (Word 2007)



 
 
Thread Tools Display Modes
  #1  
Old June 25th, 2009, 06:38 PM posted to microsoft.public.word.mailmerge.fields
Adam SF CA[_2_]
external usenet poster
 
Posts: 2
Default Merge questions: Skip blank filed (Word 2007)

I am preparing a large merge for a letter. Some records have entries for
middle names, others do not.

I have attempted to apply a "Rule" to the Middle name field, using the "IF
THEN ELSE" command with the "is blank" comparison.

I end up deleting the field entirely. BTW, I am pulling data from an Excel
spreadsheet.

Thanks!!!
  #2  
Old June 25th, 2009, 07:41 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Merge questions: Skip blank filed (Word 2007)

1. Use ctrl-F9 to insert field code braces {}. use Alt-F9 to show/hide
field codes (or field results). Select a field and use F9 to update it.

2. Then supposing the relevant field names are firstname, middlename,
lastname, in Word 2007 you can use

{ MERGEFIELD firstname }{ MERGEFIELD middlename \b " " }{ MERGEFIELD
lastname \b " " }


Peter Jamieson

http://tips.pjmsn.me.uk

Adam SF CA wrote:
I am preparing a large merge for a letter. Some records have entries for
middle names, others do not.

I have attempted to apply a "Rule" to the Middle name field, using the "IF
THEN ELSE" command with the "is blank" comparison.

I end up deleting the field entirely. BTW, I am pulling data from an Excel
spreadsheet.

Thanks!!!

 




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:40 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.