associates
Registered User.
- Local time
- Today, 09:16
- Joined
- Jan 5, 2006
- Messages
- 94
Hi,
I was wondering if i can get some help here. The aim here is moving data from excel to Access '03.
At the moment, i'm having troubled in finding out a way to open a database and execute SQL - insert the data into the table.
then, i got stuck in here whereby i need to execute the SQL insert command to insert record to the table.
Appreciates your help greatly
Thank you in advance
I was wondering if i can get some help here. The aim here is moving data from excel to Access '03.
At the moment, i'm having troubled in finding out a way to open a database and execute SQL - insert the data into the table.
Code:
Set cn = New ADODB.Connection
With cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = "Data Source= C:\Mydocuments\myDB.mdb;Extended Properties=Excel 8.0;"
.Open
End With
then, i got stuck in here whereby i need to execute the SQL insert command to insert record to the table.
Appreciates your help greatly
Thank you in advance