ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Merger SQL Query into EXCEL (https://www.excelbanter.com/excel-discussion-misc-queries/220249-merger-sql-query-into-excel.html)

karthik

Merger SQL Query into EXCEL
 
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.
--
Karthi


All times are GMT +1. The time now is 08:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com