ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Transferring Large Amount of Data from Excel 2003 to Access 2003 (https://www.excelbanter.com/excel-programming/381074-transferring-large-amount-data-excel-2003-access-2003-a.html)

[email protected]

Transferring Large Amount of Data from Excel 2003 to Access 2003
 
I have about 1,000 to 1,500 records in Excle 2003 that I am trying to
get into Access 2003 using VBA the fasted way possible. Right now I
have an INSERT query that loops through the records but this is very
slow. I have read about some other options that would be faster like
creating a linked table to this data and then I can append the data and
destroy the linked table. However, I think this functionality was lost
in Excel 2003 but I am not sure. Can anyone help with what the best
solution is and some sample code (or a reference on the web I can get
to). Thanks in advance.

-Scott


Chip Pearson

Transferring Large Amount of Data from Excel 2003 to Access 2003
 
Probably the fastest way is with the CopyFromRecordset method of a range.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

wrote in message
oups.com...
I have about 1,000 to 1,500 records in Excle 2003 that I am trying to
get into Access 2003 using VBA the fasted way possible. Right now I
have an INSERT query that loops through the records but this is very
slow. I have read about some other options that would be faster like
creating a linked table to this data and then I can append the data and
destroy the linked table. However, I think this functionality was lost
in Excel 2003 but I am not sure. Can anyone help with what the best
solution is and some sample code (or a reference on the web I can get
to). Thanks in advance.

-Scott




[email protected]

Transferring Large Amount of Data from Excel 2003 to Access 2003
 
Thanks for your response. I have come accross this method but I
thought this could only be used when getting data from Access to Excel.
In my case I need to get a large amount of data from Excel into
Access. If I can use it in this direction can you help me out with
some example code. Thanks so much.

-Scott

Chip Pearson wrote:
Probably the fastest way is with the CopyFromRecordset method of a range.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

wrote in message
oups.com...
I have about 1,000 to 1,500 records in Excle 2003 that I am trying to
get into Access 2003 using VBA the fasted way possible. Right now I
have an INSERT query that loops through the records but this is very
slow. I have read about some other options that would be faster like
creating a linked table to this data and then I can append the data and
destroy the linked table. However, I think this functionality was lost
in Excel 2003 but I am not sure. Can anyone help with what the best
solution is and some sample code (or a reference on the web I can get
to). Thanks in advance.

-Scott



Chip Pearson

Transferring Large Amount of Data from Excel 2003 to Access 2003
 
No, you can't use CopyFromRecordSet in the other direction. I misread your
question.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

wrote in message
oups.com...
Thanks for your response. I have come accross this method but I
thought this could only be used when getting data from Access to Excel.
In my case I need to get a large amount of data from Excel into
Access. If I can use it in this direction can you help me out with
some example code. Thanks so much.

-Scott

Chip Pearson wrote:
Probably the fastest way is with the CopyFromRecordset method of a
range.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

wrote in message
oups.com...
I have about 1,000 to 1,500 records in Excle 2003 that I am trying to
get into Access 2003 using VBA the fasted way possible. Right now I
have an INSERT query that loops through the records but this is very
slow. I have read about some other options that would be faster like
creating a linked table to this data and then I can append the data and
destroy the linked table. However, I think this functionality was lost
in Excel 2003 but I am not sure. Can anyone help with what the best
solution is and some sample code (or a reference on the web I can get
to). Thanks in advance.

-Scott






All times are GMT +1. The time now is 11:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com