Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / March 2007

Tip: Looking for answers? Try searching our database.

Blank lines in mailwerge Word 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sue F - 18 Mar 2007 14:27 GMT
Hi
I am doing a merge in Word 2007 on PC.
I want it to ignore a field if blank, however it will only let me replace it with text

Any suggestions?

EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Graham Mayor - 18 Mar 2007 15:12 GMT
I don't know what (if any) additional merge tools 2007 provides, but you can
conditionally merge a field

{IF {Mergefield Fieldname} <> "" "{Mergefield Fieldname}"}

or with numeric field you can use a switch to determine what happens -
http://www.gmayor.com/formatting_word_fields.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Hi
> I am doing a merge in Word 2007 on PC.
[quoted text clipped - 5 lines]
> EggHeadCafe.com - .NET Developer Portal of Choice
> http://www.eggheadcafe.com
Linda H - 28 Mar 2007 14:48 GMT
Where is this IF statement in Word 2007?
Linda

> I don't know what (if any) additional merge tools 2007 provides, but you can
> conditionally merge a field
[quoted text clipped - 13 lines]
> > EggHeadCafe.com - .NET Developer Portal of Choice
> > http://www.eggheadcafe.com 
Doug Robbins - Word MVP - 28 Mar 2007 15:45 GMT
On the Insert tab, select the Quick Parts pulldown in the Text chunk and
then select Fields.

Alternatively, use Ctrl+F9 to insert each pair of field delimiters { } and
enter the necessary text inside them.  Use Alt+F9 to toggle off the display
of the field codes.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Where is this IF statement in Word 2007?
> Linda
[quoted text clipped - 17 lines]
>> > EggHeadCafe.com - .NET Developer Portal of Choice
>> > http://www.eggheadcafe.com
Graham Mayor - 28 Mar 2007 15:48 GMT
No idea, but you can type it from the keyboard using CTRL+F9 for each pair
of field boundaries {} Put the name of your field in place of Fieldname.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Where is this IF statement in Word 2007?
> Linda
[quoted text clipped - 24 lines]
>>> EggHeadCafe.com - .NET Developer Portal of Choice
>>> http://www.eggheadcafe.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.