Hey all,
I've written some VBA in Excel that will generate about 100,000 rows of data, and I need these to end up in a new table in an existing Access database. Performance/speed is obviously a concern here.
Conceptually, would it be best to load the rows into an ADO recordset as I'm looping through creating them, and then write them all at once to Access (using a maketable query or???)? Or should I have the code go out and create a blank table in Access first, then write the rows across one by one as my code creates them in Excel?
Just wanted opinions on approach before I start figuring out the code (haven't done much with ADO).
Thanks!
Luke
VBAjedi
I've written some VBA in Excel that will generate about 100,000 rows of data, and I need these to end up in a new table in an existing Access database. Performance/speed is obviously a concern here.
Conceptually, would it be best to load the rows into an ADO recordset as I'm looping through creating them, and then write them all at once to Access (using a maketable query or???)? Or should I have the code go out and create a blank table in Access first, then write the rows across one by one as my code creates them in Excel?
Just wanted opinions on approach before I start figuring out the code (haven't done much with ADO).
Thanks!
Luke
VBAjedi