A Query:
For fun, I am going to help an accountant with this little project....
Companies submit their financial statements (Balance Sheet, Income statement etc.) to the state using microsoft excel templates. These templates are later available for download by the general public.
I have downloaded 800+ financial statements, and placed them in folders. Each excel file has a different name, though they really contain the same sort of information (I am assuming that the template used was not changed in any way i.e. tab names and cell locations).
I would like to build a quick module to iterate through these excel files, and populate the data into Access tables. I have worked with ADO and DAO, and have no problems importing spreadsheets when they are layed out all snazzy (csv, or otherwise). I have never on the other hand, tried to grab arbitrary data from excel, and stuff it into access.
I envision using VB to open the file, go to the specific hard coded cells, and read the data using ADO into the table.
Any tips on how to work with the excel portion in code? Also, should I be polishing up on my DLL calls for stepping thorugh the folder tree?
Thanks
For fun, I am going to help an accountant with this little project....
Companies submit their financial statements (Balance Sheet, Income statement etc.) to the state using microsoft excel templates. These templates are later available for download by the general public.
I have downloaded 800+ financial statements, and placed them in folders. Each excel file has a different name, though they really contain the same sort of information (I am assuming that the template used was not changed in any way i.e. tab names and cell locations).
I would like to build a quick module to iterate through these excel files, and populate the data into Access tables. I have worked with ADO and DAO, and have no problems importing spreadsheets when they are layed out all snazzy (csv, or otherwise). I have never on the other hand, tried to grab arbitrary data from excel, and stuff it into access.
I envision using VB to open the file, go to the specific hard coded cells, and read the data using ADO into the table.
Any tips on how to work with the excel portion in code? Also, should I be polishing up on my DLL calls for stepping thorugh the folder tree?
Thanks