Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uploading Data from an Excel file to an Access table

Status
Not open for further replies.

Rizk

Programmer
Apr 6, 2001
1
US
I'm trying to load data from an excel spreadsheet into an Access table. I've created a button on a form to try and do this through code and am running into issues. Can you help?
 
Yes, we can probably help. Provide some details. "Running into issues" is too vague. Rick Sprague
 
I have to do this all the time. I really wouldn't want to try and automate it with a button because you can get such junky data coming from Excel--you'll have an ImportErrors table full of things that didn't make the transfer. I always manually groom the Excel sheet and make sure that the data types for the columns are correct, then import into a temp table and do an append query. You can get import headaches if there are zero length strings in the Excel sheet and your fields are set to not allow them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top