Reply
 
Thread Tools Display Modes
  #1   Report Post  
Martin Post
 
Posts: n/a
Default bypassing empty merge fields

Hello,

I got a mailmerge with an excel document to make labels, like:

«MrMs» «Firsname» «Lastname»

The problem is when the first name is not mentioned it leaves a extra blank
space on the label, like:

Mr. Smith, instead of:
Mr. Smit

Is there a function to ignore field Firsname if it's empty?

Thanks in advance,

Martin
  #2   Report Post  
Peter Jamieson
 
Posts: n/a
Default

use an IF field, e.g.

{ MERGEFIELD MrMs } { IF { MERGEFIELD Firstname } = ""
"" " { MERGEFIELD Firstname }" }{ MERGEFIELD Lastname }

All the {} need to be the special field codes you can insert using ctrl-F9.

Peter Jamieson
"Martin Post" wrote in message
...
Hello,

I got a mailmerge with an excel document to make labels, like:

«MrMs» «Firsname» «Lastname»

The problem is when the first name is not mentioned it leaves a extra
blank
space on the label, like:

Mr. Smith, instead of:
Mr. Smit

Is there a function to ignore field Firsname if it's empty?

Thanks in advance,

Martin



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty Merge fields then substitute text Mary Mailmerge 1 March 14th 05 12:32 PM
Can you create a multi-layered merge where certain merge fields a. mileszat Mailmerge 3 January 18th 05 03:46 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 1 January 13th 05 05:22 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 0 January 13th 05 12:43 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM


All times are GMT +1. The time now is 07:14 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"