In-memory Database in Excel

Posted by user329174 on Stack Overflow See other posts from Stack Overflow or by user329174
Published on 2010-04-29T18:11:15Z Indexed on 2010/04/29 18:17 UTC
Read the original article Hit count: 308

Filed under:
|
|

Hello,

I am looking for a way to import a datatable from Access into an Excel variable and then run queries through this variable to speed up the process. I am trying to migrate from C# .NET where I read a data table from an access database into memory and then used LINQ to query this dataset. It is MUCH faster than how I have it currently coded in VBA where I must make lots of calls to the actual database, which is slow. I have seen the QueryTable mentioned, but it appears that this requires pasting the data into the excel sheet. I would like to keep everything in memory and minimize the interaction between the Excel Sheet and the VBA code as much as possible.

I wish we didn't need to use Excel+VBA to do this, but we're kind of stuck with that for now. Thanks for the help!

© Stack Overflow or respective owner

Related posts about database

Related posts about excel