J
JCH
Excel 2000, Access 2000, MS Query 6.3
I bring data from Access into an Excel worksheet for statisitcal analysis
using MS Query. Using Excel VBA, I create a new SQL statement that depends on
the results of the analysis. Then I copy/paste the new SQL into MS Query SQL
view and repeat the process. All this works fine manually. This repeats 126
times and needs to be run each week. Eventually, I get down to the desired
recordset. To be useful, the procedure will have to be automated because it
is too much work by hand.
I don't know how to open MS Query in SQL view using Excel VBA to perform the
copy/paste.
I am sure I am missing something very simple. My reference book ("Excel 2000
Power Programming with VBA" by John Walkenbach) doesn't seem to address this
particular procedure.
Can someone here put me on the right track?
I bring data from Access into an Excel worksheet for statisitcal analysis
using MS Query. Using Excel VBA, I create a new SQL statement that depends on
the results of the analysis. Then I copy/paste the new SQL into MS Query SQL
view and repeat the process. All this works fine manually. This repeats 126
times and needs to be run each week. Eventually, I get down to the desired
recordset. To be useful, the procedure will have to be automated because it
is too much work by hand.
I don't know how to open MS Query in SQL view using Excel VBA to perform the
copy/paste.
I am sure I am missing something very simple. My reference book ("Excel 2000
Power Programming with VBA" by John Walkenbach) doesn't seem to address this
particular procedure.
Can someone here put me on the right track?