ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Printing zip codes that start with 0 (https://www.excelbanter.com/excel-discussion-misc-queries/3962-printing-zip-codes-start-0-a.html)

ET13

Printing zip codes that start with 0
 
I formatted the cell for zip codes and in Excel 2003, the 0 shows up but when
I try to mail merge into a Publisher document, it won't print the 0 in zip
codes that start with 0. Please help

Nick Hodge

That's because Excel is only showing the leading zero because of the format.
Try preceding the data with a single apostrophe or pre-format the cells as
text

If this still doesn't work, try using the TEXT function to correct the data

=TEXT(A2,"000000")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"ET13" wrote in message
...
I formatted the cell for zip codes and in Excel 2003, the 0 shows up but
when
I try to mail merge into a Publisher document, it won't print the 0 in zip
codes that start with 0. Please help




ET13

Thank you. The apostrophe worked!

"Nick Hodge" wrote:

That's because Excel is only showing the leading zero because of the format.
Try preceding the data with a single apostrophe or pre-format the cells as
text

If this still doesn't work, try using the TEXT function to correct the data

=TEXT(A2,"000000")

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"ET13" wrote in message
...
I formatted the cell for zip codes and in Excel 2003, the 0 shows up but
when
I try to mail merge into a Publisher document, it won't print the 0 in zip
codes that start with 0. Please help






All times are GMT +1. The time now is 11:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com