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  

mail merge shows blanks as zero's



 
 
Thread Tools Display Modes
  #1  
Old June 9th, 2005, 04:09 PM
gareth
external usenet poster
 
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  
Old June 9th, 2005, 08:23 PM
Doug Robbins
external usenet poster
 
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??



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge - Parameter prompts twice... TL Mailmerge 6 June 17th, 2005 02:58 PM
Mail merge conversion from Word to .NET code. mutton Mailmerge 1 November 17th, 2004 03:09 AM
Word-Excel 2000 Mail Merge Failure Jim Mailmerge 1 August 12th, 2004 02:43 PM
How to run word and pass a mail merge values and fax it to the recipient Belinda Mailmerge 2 June 13th, 2004 12:49 AM
Zeros in empty mail merge field instead of just closing up P. J. Mailmerge 2 May 28th, 2004 04:27 PM


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