ACC: #Num Appears in Linked Microsoft Excel SpreadsheetLast reviewed: August 29, 1997Article ID: Q162539 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you link to a Microsoft Excel 7.0 or 97 spreadsheet from a Microsoft Access 7.0 or 97 database, and the fields in the spreadsheet contain both numbers and text, the fields that contain text appear as #Num! in the linked table in Microsoft Access.
CAUSEMicrosoft Access assigns the data type for each field based on the data in the first row it links. For example, if a field that contains mostly text values has a number in the first row, Microsoft Access assigns the Number data type and then cannot link the rest of the records. Any format that you apply to the fields in Microsoft Excel will be ignored by Microsoft Access when the spreadsheet is linked.
RESOLUTIONBefore you link to the spreadsheet in Microsoft Access, make sure that the spreadsheet has the same type of data in each field (column) and the same fields in every row. -or- Use the procedure below to format the cells in the spreadsheet so that they will appear correctly in Microsoft Access.
Formatting the Cells in the Microsoft Excel SpreadsheetTo format the cells in the spreadsheet so that the linked table data appears correctly in Microsoft Access, do the following:
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about linking data, search the Help Index for "linked tables, linking table data" or ask the Microsoft Access 97 Office Assistant. Keywords : kbinterop Version : 7.0 97 Platform : WINDOWS Hardware : x86 Issue type : kbprb Solution Type : Info_Provided |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |