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

using Excel workbook as a datasource for ado connection object execute

Status
Not open for further replies.

krankyboy

Programmer
May 27, 2003
4
IN
Hi,

I want to import data from an excel workbook using a connection object based on my Access DB.

What is the syntax? I do currently with a text file no problem.

my code is something like:

connectionObject.Execute "Insert into mytable (fieldnames from
excel sheet
Datasource ????? HDR =yes ?????

Anyway you get the picture.

Any help will be appreciated.

Thanks,

A
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top