I want be able to send out excel workbooks with SQL queries embedded.
For example I want to send out a monthly sales report for the month of June, have the user open the report and have the SQL query populate the appropriate cells with June's sales data. I would want the user to be easily change a data value in the query a month later, re-execute the query and have July's sales data.
How would I set something like this up? I'm using Excel 2003 and would be querying a Microsoft SQL Server.
For example I want to send out a monthly sales report for the month of June, have the user open the report and have the SQL query populate the appropriate cells with June's sales data. I would want the user to be easily change a data value in the query a month later, re-execute the query and have July's sales data.
How would I set something like this up? I'm using Excel 2003 and would be querying a Microsoft SQL Server.