Reply
 
Thread Tools Display Modes
  #1   Report Post  
gareth
 
Posts: n/a
Default mail merge shows blanks as zero's

I am mail merging data from excel into Word.
In the excel table i have 5 number columns in each row, some of which are
blank and so shouldn't be seen in the mail merge.

However in the mail merge table they are shown as Zero's.

So for example: in my excel table if the row only has two numbers and three
blanks...... after the mail merge in Word i end up with 78978, 78457,0,0,0
listed on my letters.

I tried formating excel to TEXT to see if this would work, but it didn't.
How can i get word to leave out the zero's??
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Use a formatting switch inside the mergefield with the string \# "#;-#;"

Also see "Formatting Word fields with switches" on fellow MVP Graham Mayor's
website at :

http://www.gmayor.com/formatting_word_fields.htm

--
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
"gareth" wrote in message
...
I am mail merging data from excel into Word.
In the excel table i have 5 number columns in each row, some of which are
blank and so shouldn't be seen in the mail merge.

However in the mail merge table they are shown as Zero's.

So for example: in my excel table if the row only has two numbers and
three
blanks...... after the mail merge in Word i end up with 78978, 78457,0,0,0
listed on my letters.

I tried formating excel to TEXT to see if this would work, but it didn't.
How can i get word to leave out the zero's??



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
mail merge with attachments AS Mailmerge 5 April 9th 05 09:49 AM
Date mail merge field shows as serial Hiking Mailmerge 5 March 18th 05 10:25 AM
Mail Merge Issue With Office 97 - Excel Data Source Matt Thorley Mailmerge 1 February 15th 05 11:38 PM
Trailing zeros cut off on mail merge from Excel alant Mailmerge 2 January 21st 05 01:45 AM
Word-Excel 2003 - Mail Merge Recipients problem AYager Mailmerge 2 January 11th 05 04:11 AM


All times are GMT +1. The time now is 06:26 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"