Could be any number of possibilities, unfortunately:
Is the workbook file password protected?
Is the file corrupted?
Does the table into which you're wanting to import the data
contain
a primary key field that is not the last field in the table, and the
file's
spreadsheet does not contain that primary key in a column?
Do any of the data in the EXCEL file not match the data type of
the
field into which you want to import the data?
When I need to import a spreadsheet, I will usually import it into a new
table, and let the import wizard create the table for me. Then I use an
append query to copy the data from that new table into an existing table.
This allows me complete control over which fields map to which, over the
format of the data as I put the data in the permanent table, etc.
Try importing and choose the "new table" option. Then create an append
query
to copy the data to the existing table. You then can delete the "new"
table.
--
Ken Snell
<MS ACCESS MVP>
lss said:
I am having trouble importing an .xls into an access project.
I am following the steps in the Import Spreadsheet Wizard until the
last
step.
When I press [Finish] I get the following message...
An Error occured trying to import 'C:\temp\RSLINX DDE\T4.xls'. The
file
was not imported.>>
I know the file exists and it is not open at the time I tried to import
it.
Is there anything else I should be doing to import this spreadsheet?