Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BH BH is offline
external usenet poster
 
Posts: 14
Default Format Zip Codes Correctly for a Mailmerge

In Version 2003, for a mailmerge using data in Excel, how does one format the
cells for the Zip Codes so that the Zip Code numbers starting with 0 will
appear in the word merge. For example, the Zip Code for Englewood, NJ is
07631, and if the Zip Code cells are formatted as Number, Special, General,
or even programmed in Custom, the first digit "0" does not appear in the
merge, but the only the "7631" appears. On the other hand, if the Zip Code
cells are formatted as Text, only the first digit "0" appears in the merge,
but not the remaining digits of the Zip Code.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Format Zip Codes Correctly for a Mailmerge

You may want to read some tips for mailmerge.
http://www.mvps.org/dmcritchie/excel/mailmerg.htm
http://www.mvps.org/word/FAQs/MailMerge

The first is from David McRitchie and the second is by Beth Melton and Dave
Rado.

And if you notice problems with the formatting of data (like zipcodes)...

Debra Dalgleish posted this:

There's an article on the Microsoft web site that might help you:

Answer Box: Numbers don't merge right in Word
http://office.microsoft.com/en-ca/as...164951033.aspx

And if you prefer the old Mail Merge helper, Word MVP Suzanne Barnhill
has instructions he

http://sbarnhill.mvps.org/WordFAQs/C...ngWord2002.htm

about half way down the page.

==========
I often cheat instead of racking my brain.

I'll insert another column (probably hidden!) and use:
=text(a2,"ddmmyy")
or
=text(a2,"mm:ss.0")
or
=text(a2,"00000")
(or whatever format I want)
and use that field in the mailmerge.

(Cheating doesn't bother me anymore <vbg.)

BH wrote:

In Version 2003, for a mailmerge using data in Excel, how does one format the
cells for the Zip Codes so that the Zip Code numbers starting with 0 will
appear in the word merge. For example, the Zip Code for Englewood, NJ is
07631, and if the Zip Code cells are formatted as Number, Special, General,
or even programmed in Custom, the first digit "0" does not appear in the
merge, but the only the "7631" appears. On the other hand, if the Zip Code
cells are formatted as Text, only the first digit "0" appears in the merge,
but not the remaining digits of the Zip Code.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,104
Default Format Zip Codes Correctly for a Mailmerge

Dave has given you a complete answer but here is my 2 cents worth.
I did a quick experiment and did not lose the digits following the zero.
Indeed, how can the merge engine no take all the characters from a text
field?
I would make sure all the zips are formatted as text, resave the data file
with another name and start your mail merge again
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"BH" wrote in message
...
In Version 2003, for a mailmerge using data in Excel, how does one format
the
cells for the Zip Codes so that the Zip Code numbers starting with 0 will
appear in the word merge. For example, the Zip Code for Englewood, NJ is
07631, and if the Zip Code cells are formatted as Number, Special,
General,
or even programmed in Custom, the first digit "0" does not appear in the
merge, but the only the "7631" appears. On the other hand, if the Zip Code
cells are formatted as Text, only the first digit "0" appears in the
merge,
but not the remaining digits of the Zip Code.



  #4   Report Post  
Posted to microsoft.public.excel.programming
BH BH is offline
external usenet poster
 
Posts: 14
Default Format Zip Codes Correctly for a Mailmerge

Thank you all very much! The Answer Box article explained how to use DDE, and
it worked! Greatly appreciate the your suggestyionsd and help.

"Bernard Liengme" wrote:

Dave has given you a complete answer but here is my 2 cents worth.
I did a quick experiment and did not lose the digits following the zero.
Indeed, how can the merge engine no take all the characters from a text
field?
I would make sure all the zips are formatted as text, resave the data file
with another name and start your mail merge again
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"BH" wrote in message
...
In Version 2003, for a mailmerge using data in Excel, how does one format
the
cells for the Zip Codes so that the Zip Code numbers starting with 0 will
appear in the word merge. For example, the Zip Code for Englewood, NJ is
07631, and if the Zip Code cells are formatted as Number, Special,
General,
or even programmed in Custom, the first digit "0" does not appear in the
merge, but the only the "7631" appears. On the other hand, if the Zip Code
cells are formatted as Text, only the first digit "0" appears in the
merge,
but not the remaining digits of the Zip Code.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting cell format based on format codes Hans Knudsen Excel Programming 3 October 11th 08 07:47 PM
Mailmerge zip codes Ronnie Excel Discussion (Misc queries) 2 February 28th 08 07:11 PM
How can I get excel to mail merge zip codes plus 4 correctly? Kathy at Sauder Feeds Excel Worksheet Functions 1 June 30th 05 11:21 AM
Date format for mailmerge Luc Agostini Excel Discussion (Misc queries) 1 April 20th 05 11:20 AM
how to format zip codes [email protected] Excel Discussion (Misc queries) 1 March 7th 05 08:29 PM


All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"