ACC2000: Cannot Import Spreadsheet If Field Name Begins with Space (207878)
The information in this article applies to:
This article was previously published under Q207878 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you try to import a Microsoft Excel spreadsheet into a Microsoft
Access database, you may receive the following error message:
An error occurred trying to import file '<File Name>'. The file was not imported.
CAUSE
The error occurs if there is a space preceding one or more of the field
names in the spreadsheet.
RESOLUTION
You can resolve the error in the following ways:
- Open the spreadsheet in Microsoft Excel and remove the leading space from the field name.
- Link the spreadsheet in Microsoft Access instead of importing it.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about importing data, click Microsoft Access Help on the Help menu, type import data in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | kbbug kberrmsg kbinterop kbnofix KB207878 |
---|
|