OL97: Postal Codes Import Incorrectly from Excel WorkbookLast reviewed: January 19, 1998Article ID: Q168240 |
The information in this article applies to:
SYMPTOMSWhen you use the Microsoft Outlook 97 Import and Export Wizard to import a Microsoft Excel 97 file that contains postal codes, the postal codes import either with three decimal places or not at all.
CAUSEYou did not format all of the Excel cells as "Zip Code + 4." By default, Excel uses the General format for numbers. This format does not import properly into Outlook when you use the Excel converter in the Outlook Import and Export Wizard. If you use a mix of "Zip Code" and "Zip Code + 4" cell formats in the same worksheet, the numbers may not import properly. If you use five-plus-four digit postal codes formatted as "Zip Code", they may not import properly.
RESOLUTIONYou can work around this problem two ways.
Method 1The preferred method is to format the cells in Excel as "Zip Code + 4" whenever you use any type of postal code. Five-digit postal codes then import as 12345-0000 and five-plus-four-digit postal codes import as 12345- 1234. If you format the cells as "Zip Code," the imported results may contain decimals. Follow these steps to set the cell format:
Method 2The second method is to export the file from Excel to a comma or tab delimited text file. Then import the delimited text file into Outlook.
MORE INFORMATIONWhen you create an Excel workbook sheet that contains postal code numbers in the five-digit format (12345) or in the five-plus-four-digit format (12345-1234), the postal code numbers do not import properly into Outlook. By default, the cell format is General. With this format, the five-digit numbers import with three decimal places. For example, the postal code 123345 imports into Outlook as 12345.000. The five-plus-four-digit numbers do not import at all. For example, Outlook imports the postal code of 12345- 1234 as a blank field. If you format the cells as "Zip Code + 4," the data imports properly into Outlook.
Steps to Reproduce ProblemFollow these steps to create the Excel workbook:
|
Additional query words: zip zipcode
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |