--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"MarianneME" <Maria...@discussions.microsoft.com> wrote in message
news:A60DDDAC-A8CA-4E52...@microsoft.com...
Help?
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"Judy F." <judy...@yahoo.com> wrote in message
news:2CF72C1D-EA88-4774...@microsoft.com...
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Essentially Word is expected to provide the formatting and will strip
leading zeros from numbers. You can use a number switch or mask to restore
that zero. At the place you want the zip code press CTRL+F9. This will give
you a pair of field brackets {}
Between the brackets type the required field data, presumably {Mergefield
Zip} then add the switch i.e.
{Mergefield Zip \# "00000"}. With the cursor in the field. Press F9 to
update. This should toggle the field display, but if it doesn't ALT+F9 will.
If you need one of the more complicated formatting options, see the web
page for the content.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"Cate" <Ca...@discussions.microsoft.com> wrote in message
news:0F21D937-05AF-4E12...@microsoft.com...
DDE, when it works, will bring in the formatting from Excel - but it isn't
very reliable.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Cate wrote:
> Dear Suzanne & Graham,
> Yes, I did actually use the heading specific to my Excel datasheet,
> but for simplicity didn't include it in my last message to this
> stream. My system seems to be refusing to recognize the switch. Any
> ideas how to trick it into recognizing it? What is a DDE?
>
Also, I notice that Graham's reply suggests "{ Mergefield Zip \# "00000" }."
If I have correctly read Word's Help topic "Numeric Picture (\#) field
switch," the quotes around the numeric picture are unnecessary and perhaps
incorrect (and may be part of the problem).
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"Cate" <Ca...@discussions.microsoft.com> wrote in message
news:03C95728-29F2-49D0...@microsoft.com...
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Suzanne S. Barnhill wrote:
> There are two ways to force Word to use the number formatting you have
> applied in Excel. One is to use a formatting switch as described by
> Graham. The other is to connect to Excel using DDE (the old method)
> instead of OLEDB (the method introduced in Word 2002, which preserves
> Unicode characters but not number formatting). To do the latter,
> you'll need to check the box for "Confirm conversion at Open" on the
> General tab of Tools | Options. After doing that, reattach the data
> source to your mail merge main document. When you do, you'll get a
> dialog asking you to choose the connection method, and you can choose
> DDE.
>
> Also, I notice that Graham's reply suggests "{ Mergefield Zip \#
> "00000" }." If I have correctly read Word's Help topic "Numeric
> Picture (\#) field switch," the quotes around the numeric picture are
> unnecessary and perhaps incorrect (and may be part of the problem).
>
>
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
"Cate" <Ca...@discussions.microsoft.com> wrote in message
news:EE2087D1-AE6D-4B3D...@microsoft.com...
I have just tested this again and it works either with or without the
quotes.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Cate wrote:
> Suzanne! Removing those quotation marks seems to have done the trick
> with the 5-digit zip codes!! Hurray, we're half-way there. I've
> tried several variations on the 9-digit portion of the coding, but
> get only five zeros to show. I can remove the 4-digit extensions,
> but would much rather be able to solve this once and for all. I
> really appreciate all your and Graham's help, as I'm sure others
> will, too.
>
Or you can revert to DDE albeit with the inherent risk that DDE is
unreliable, the method linked from that page.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>