There's only 1 Sheet per excel file that needs to be touched. So basically it's going to be a macro that loops through a directory of excel files one by one and plucks the same cells of information out of each of them, and puts them into a table. And yes I only need certain cells of information from each sheet, because there is a lot of information on each quote sheet and I want to be able to quickly locate the specific pieces that i'm looking for (which are the ones I will be importing).
Any ideas?
If for each XLS file, you need to extract the same data, then the answer to your question was pretty much already written in front of your nose.
In fact there are many ways... an easy one: build your database first, forget about visual studio, get yourself a beginners course on access (lynda.com will bring you a far way), learn about forms, reports and data normalization as a few suggested here before me.
Once you have your database, you can do several things:
Considering you VBA skills:
--> The hard way: the way you're trying now: use VBA to fill your database
--> The easy way: use a macro editor to get your data inside access (look for 'Macro Scheduler' or 'Automation Anywhere'), they often have user-friendly ways to manipulate data in excel and you can bring them to anywhere else if you like, including access.
Either way it boils down to the same thing:
For each XLS there has to be a logic in to what fields you want to extract and getting your data is useless until you have an actual database.
Using VBA, you'd build a list of fields you want to extract, open an excel object, select only those rows of your interest and insert them into your database... the same goes for the macro way, only the syntax will be a bit more easy... anyway, that's all pretty trivial... make your database first
Last edited: