Merger SQL Query into EXCEL

K

Karthik

I run a SQL query daily in server and extract data from the table. A .CSV
file is generated every time i run a query and I manually copy the data from
the .CSV file and paste it in an excel template sheet for further analysis.
Could anyone please let me know a formula or a Macro that could run the query
and paste(import) the data directly in to the template on daily basis.

The query would have a date range which i manually change daily before
running the query. Could this be automated in an excel sheet?

Thanks for your help in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top