M
Marc Seitz
Hi!
I´m new to SQL and VBA.
I´m trying the following:
I got an Excel-Table (large) which I want to transfer into an SQL2005 table.
I have to use Excel-VBA.
Via Google I found out there is a command like "sqlbulkcopy".
Can anyone give me a hint how to use this?
First, I declare my connection variables and then open the Connection
(ADOB.Connection).
But how do I handle the SQLBulkCopy in there?
Can you please give a small code sample?
In the end, I close the connection.
Thanks a lot.
Marc
I´m new to SQL and VBA.
I´m trying the following:
I got an Excel-Table (large) which I want to transfer into an SQL2005 table.
I have to use Excel-VBA.
Via Google I found out there is a command like "sqlbulkcopy".
Can anyone give me a hint how to use this?
First, I declare my connection variables and then open the Connection
(ADOB.Connection).
But how do I handle the SQLBulkCopy in there?
Can you please give a small code sample?
In the end, I close the connection.
Thanks a lot.
Marc