Well, I reckon I've got it about covered in the title. This has to use DAO I'm afraid and I've not used it much
I have an Access database on D:\Home\Access
called GB_Universe
I have a select query on that database called Q3
This is based on a query (Q2) which in turn is based on a query (Q1) which is based on several tables
What I need to do is connect to the database and run Q3 (I would assume I can use the DoCmd.openquery "Q3" syntax that is native to Access ?
I then need to return the results of Q3 into an excel worksheet (wkbk is called "Master.xls" and wksht is called "DataReturn"
starting in A1
TIA Rgds
Geoff
"Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde
I have an Access database on D:\Home\Access
called GB_Universe
I have a select query on that database called Q3
This is based on a query (Q2) which in turn is based on a query (Q1) which is based on several tables
What I need to do is connect to the database and run Q3 (I would assume I can use the DoCmd.openquery "Q3" syntax that is native to Access ?
I then need to return the results of Q3 into an excel worksheet (wkbk is called "Master.xls" and wksht is called "DataReturn"
TIA Rgds
Geoff
"Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde