import error into Access 2003 with Excel 2003

S

san_quentin76

I'm encountering a situation whereby I'm importing an Excel file into Access
that is at its limit or capacity of rows and when I import the spreadsheet
into Access as a table it splits the database thereby leaving me with missing
records. I tried using the following code to import two different tables and
it captured all of the data from two different worksheets. However I tried
to unify the tables with an append query and Access 2003 cut off a few
thousand records once again. Any suggestions?

Sub import()
DoCmd.TransferSpreadsheet acImport, , "tblImport1",
"C:\Databases\pur_rpt_ncr1.xls", False, "A2:N65536"
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top