Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Sue F Sue F is offline
external usenet poster
 
Posts: 1
Default Blank lines in mailwerge Word 2007

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
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Blank lines in mailwerge Word 2007

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

--

Graham Mayor - Word MVP

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


Sue F wrote:
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



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Linda H Linda H is offline
external usenet poster
 
Posts: 2
Default Blank lines in mailwerge Word 2007

Where is this IF statement in Word 2007?
Linda

"Graham Mayor" wrote:

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

--

Graham Mayor - Word MVP

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


Sue F wrote:
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




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Blank lines in mailwerge Word 2007

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.

--
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

"Linda H" wrote in message
news
Where is this IF statement in Word 2007?
Linda

"Graham Mayor" wrote:

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

--

Graham Mayor - Word MVP

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


Sue F wrote:
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






  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Blank lines in mailwerge Word 2007

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.

--

Graham Mayor - Word MVP

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


Linda H wrote:
Where is this IF statement in Word 2007?
Linda

"Graham Mayor" wrote:

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

--

Graham Mayor - Word MVP

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


Sue F wrote:
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



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
How do I delete blank lines in Word? Michael Parry Microsoft Word Help 3 May 1st 23 02:51 PM
How can I automatically eliminate all blank lines from a word doc JPRENDER Microsoft Word Help 10 March 7th 06 07:50 PM
How do I set up Word to not count blank lines? Don't want to count blank lines. Microsoft Word Help 2 October 30th 05 03:10 PM
How do I suppress blank lines in a table in Word 2000? mauitom Mailmerge 1 June 24th 05 09:00 AM
In Word 2002, how do I suppress blank lines in an address? geller Mailmerge 1 February 2nd 05 05:50 AM


All times are GMT +1. The time now is 05:06 PM.

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"