I know that this is an old post, but I've been importing Excel sheets into Access for years, and now I'm getting errors. Different errors, sometimes the "Subscript out of range" other times, simply a long message that 0 rows were deleted; 0 rows were edited,
with zero details on why. Pretty disappointing!
Here are my answers to Gina's questions:
- How many columns is the spreadsheet? 26
- Do you have any calculated columns? NO
- Have you looked at the spreadsheet to confirm there are no errors on the
sheet? NO - I've tried saving as a CSV and as an XLXS, with the same results.
- Just on a whim here, do you column headings use any Reserved Words (or
Wildcard Characters) that might confuse Access? No wildcards, if fact, I tried EXPORTING to Excel, then removing the exported data but keeping the column names, and pasting in the new data - still get an error.
http://allenbrowne.com/AppIssueBadWord.html
- Have you tried it manually? (You know, File... Import...) I am only doing this manually; i.e., not via saved import steps.
I've tried grabbing the whole spreadsheet and Unhiding Columns
I've tried manually formatting each and every column to the correct data type.
My most frequent error says: "The contents of fields in 0 record(s) were deleted and 10 record(s) were lost due to key violations.
I only have one Primary key, which is an autonumber field in Access. I am not including that column in the Excel sheet, but I never have in the past, without any errors.
Help!
Thanks,
Chris