The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SYMPTOMSIf you try to use the Import Spreadsheet Wizard to import a Microsoft Excel worksheet into an existing Microsoft Access 97 table, you may receive the following error message:
CAUSEYou receive this error message if the worksheet does not have column headers, or if one or more column headers do not match the field names in the Access table. RESOLUTIONAlthough the Import Spreadsheet Wizard in Access will not import an Excel worksheet with a mismatched column header or no column headers at all, you can use the following steps to create an append query to add the data from the Excel worksheet to the target Access table:
-or- NOTE: F1 to FN should continue out to the number of columns being imported. Also, the order of the fields in the destination table field list must match the order of the unnamed fields in Excel. Replace the text inside the angle brackets (<>) with information about your Excel worksheet and Access table. The "<" and the ">" should be removed as well.REFERENCESFor more information about about append queries, click Contents and Index
on the Help menu, click the Index tab in Access Help, type the
following text append queries, creatingand then double-click the selected text to go to the "what is an action query and when would you use one" topic. If you are unable to find the information you need, ask the Office Assistant. For more information about about naming ranges, click Contents and Index on the Help menu, click the Index tab in Excel Help, type the following text naming, rangesand then double-click the selected text to go to the "name cells in a workbook" topic. If you are unable to find the information you need, ask the Office Assistant. Additional query words: prb sheet spreadsheet
Keywords : kbdta ocsso |
Last Reviewed: September 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |