View Single Post
  #5   Report Post  
Doug Robbins
 
Posts: n/a
Default

Use

{ IF { MERGEFIELD Zip } "99999" "{ MERGEFIELD Zip \# "00000'-'0000" }"
"{ MERGEFIELD Zip \# "00000" } }

--
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
"Merging Zip Code Errors"
wrote in message ...
This is cool, but what about when part of the list is a five digit zip and
part is 5+4? I checked out your website, but I don't want the five digit
ones
to format as 12345+0000. I'd rather they just printed 12345. Any
suggestions?
I don't want it to have to be an all for nothing deal.

"Graham Mayor" wrote:

Use a formatting switch on the field -
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