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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Imort Table

Status
Not open for further replies.

Nick34

Technical User
Oct 16, 2003
50
US
I want to import data from a spreadsheet automatically. How can I tell access to import a particular range of the spreadsheet, as in range("A15",range("A15").end(xldown).offset(-3,0))??? I want access to append this data to the bottom of an existing table in my database. Is this possible? I am trying to use the transfer spreadsheet method but am having no luck.

Thanks for any help.
 
Hi..

I am not an Access wizard, and do not have a one step process answer,but this works for me.

1. Use the TransferSpreadsheet method to get the data into an Access table ( a Temp table)

2. Create an Append Query to get the data from the Temp table to the table you want.

3. Create a Delete Query to empty your Temp table.

4. Combine the above under a command button or some other event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top