View Single Post
  #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??