A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Zeros in empty mail merge field instead of just closing up



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2004, 01:41 PM
P. J.
external usenet poster
 
Posts: n/a
Default Zeros in empty mail merge field instead of just closing up

Hi! When I mail merge address info from an Excel
spreadsheet, the last merge field--empty zip code--does
not close up. I have two zip code fields: one for
physical address and one for P. O. Boxes. The last field
shows up as a zero when empty. I tried setting the Excel
options by unchecking zero, but that doesn't fix the
problem. I've also tried formatting the zip column to text
and number to see if that would fix it, but don't remember
that it fixed the problem. The zero doesn't really keep
the mail from being delivered, but it would be nice if the
blank field would just disappear as do other empty
fields. Any information would be greatly appreciated. I
don't know if this is fixable in Excel or in Word, but
figure it is fixable! Thanks!

P. J.
  #2  
Old May 28th, 2004, 02:43 PM
Graham Mayor
external usenet poster
 
Posts: n/a
Default Zeros in empty mail merge field instead of just closing up

It is fixable in Word using a field switch
{Mergefield Zip \# "00000;00000;"}

The above reflects 5 digit Zips - see also
http://www.gmayor.com/formatting_word_fields.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site www.mvps.org/word




P. J. wrote:
Hi! When I mail merge address info from an Excel
spreadsheet, the last merge field--empty zip code--does
not close up. I have two zip code fields: one for
physical address and one for P. O. Boxes. The last field
shows up as a zero when empty. I tried setting the Excel
options by unchecking zero, but that doesn't fix the
problem. I've also tried formatting the zip column to text
and number to see if that would fix it, but don't remember
that it fixed the problem. The zero doesn't really keep
the mail from being delivered, but it would be nice if the
blank field would just disappear as do other empty
fields. Any information would be greatly appreciated. I
don't know if this is fixable in Excel or in Word, but
figure it is fixable! Thanks!

P. J.



  #3  
Old May 28th, 2004, 04:27 PM
Charles Kenyon
external usenet poster
 
Posts: n/a
Default Zeros in empty mail merge field instead of just closing up

Is the cell in Excel formatted as a number rather than as text? If so, I
think it will report a zero value when empty rather than a blank string.
Graham's fix may work for what you want, though.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"P. J." wrote in message
...
Hi! When I mail merge address info from an Excel
spreadsheet, the last merge field--empty zip code--does
not close up. I have two zip code fields: one for
physical address and one for P. O. Boxes. The last field
shows up as a zero when empty. I tried setting the Excel
options by unchecking zero, but that doesn't fix the
problem. I've also tried formatting the zip column to text
and number to see if that would fix it, but don't remember
that it fixed the problem. The zero doesn't really keep
the mail from being delivered, but it would be nice if the
blank field would just disappear as do other empty
fields. Any information would be greatly appreciated. I
don't know if this is fixable in Excel or in Word, but
figure it is fixable! Thanks!

P. J.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.