Zip plus 4 not working in label mail merge

A

April

My source doc zip code column is formatted for Zip+4.

However, when I merge it for labels, the dash between the zip and the add'l
four numbers is removed and it becomes one long number.

Any suggestions?
 
P

Peter Jamieson

Try the following:

Use Alt-F9 to show your field codes.

Where you have something like

{ MERGEFIELD myzipcode }

change it to the following set of codes

{ SET myzip {MERGEFIELD myzipcode } }{ IF { myzip } > 99999 "{ myzip
\#"00000'-'0000" }" "{ myzip \#"00000" } }

Each pair of {} needs to be the special field code braces that you can
enter using ctrl-F9. Everything else is ordinary text

Peter Jamieson

http://tips.pjmsn.me.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top