troubleshooting Question

Access 2016 Import Excel Data

Avatar of Bob Collison
Bob CollisonFlag for Canada asked on
Microsoft Access
6 Comments1 Solution24 ViewsLast Modified:
Hi Experts,

I have been using 'Late Binding' to import data froman Excel File to  an Access 2016 Table.

Im now trying to create a new import function.

A while ago John Tsioumpris and Mark Edwards suggested the TransferSpreadsheet method.

I have coded it as follows but it doesn't import anything.

DoCmd.TransferSpreadsheet acImport, 10, RS07ImportDataAddGrp0003, "M:\Web\Att\2020-05-01@17.34-Co-op Camp Registration 35th GA.xlsx", False, ""

The Excel Spreadsheet has 2 Columns (A & B) with 121 Rows although in production the number of rows won't be known

Can you tell me what is wrong with the systax of the command?

Bob C.
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros