I would like to know if it is possible through VBA to write a Microsoft Query on a Worksheet and return the results into a Worksheet in the same Workbook?
If so what is the syntax for doing this?
As always any help is greatly appreciated.
I would like to know if it is possible through VBA to write a Microsoft Query on a Worksheet and return the results into a Worksheet in the same Workbook?
If so what is the syntax for doing this?
As always any help is greatly appreciated.
See the QueryMaster example at Debra Dalgleish's website:
http://www.contextures.com/excelfiles.html#External
It has examples of queries against various data sources
(Oracle, MS Access, ....and an Excel Named Range).
NOTE: That file DOES have macros. They only run the queries.
Is that something you can work with?
(Post back if you have questions)
Last edited by Ron Coderre; 12-15-2008 at 07:20 PM.
Ron,
thank you this just might work
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks