I would like to regroup some processes and do the work from one Excel spreadsheet. The processes would do the following:
1 – read a text file and fill a table in an Access database
2 – run a query that will merge 2 tables and create a new table in the Access db.
3 – read the merged table and extract the data from the Access Db to the Excel spreadsheet
4 – Delete all the tables created and used in the Access Db.
I do have problem to do the following for each section (1,2,3, and 4):
1 – opens the text file and import the data in an Access table.
2 – What is the code to run an Access query from Excel VBA?
3 – I will know how to update the required cells in Excel, but what is the code to open and read data in an access table.
4 – I believe that if I know how to open and connect to the access db, a delete query will do.
I will appreciate if anybody has some pieces of code that could direct me.
Thanks.
Louis
1 – read a text file and fill a table in an Access database
2 – run a query that will merge 2 tables and create a new table in the Access db.
3 – read the merged table and extract the data from the Access Db to the Excel spreadsheet
4 – Delete all the tables created and used in the Access Db.
I do have problem to do the following for each section (1,2,3, and 4):
1 – opens the text file and import the data in an Access table.
2 – What is the code to run an Access query from Excel VBA?
3 – I will know how to update the required cells in Excel, but what is the code to open and read data in an access table.
4 – I believe that if I know how to open and connect to the access db, a delete query will do.
I will appreciate if anybody has some pieces of code that could direct me.
Thanks.
Louis