Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel 2007 Data -- SQL Server proc or function with parameter
I need to pull data from SQL Server into Excel 2007. The data requires that a
date parameter be passed in -- and I can access the data either with a table function [select * from myfunc(?)] or a stored procedure [exec myproc ?]. However, after spending an hour or so messing around with the data import features, it seems that the SQL Server choice does not allow parameters, and the Microsoft Query version does not allow parameters for queries that it can't display graphically. Even if I mess around the MS Query version afterwards, I can't seem to get this to work. Is this an oversight on my part? How should I be approaching this? I would like the parameter to be populated by a cell on a worksheet, but prompting the user to enter it is also acceptable. I'd like to avoid VBA or Macros for this. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
running proc in excel | Excel Discussion (Misc queries) | |||
Excel 2007 Refresh multiple data connections & pass parameter to S | Excel Discussion (Misc queries) | |||
Parameter queries in Excel 2007 | Excel Discussion (Misc queries) | |||
Code to Query SQL Server with a parameter value (entered into an Input Box), and have that value also display in a selected cell on a worksheet | Excel Discussion (Misc queries) | |||
Code to Query SQL Server with a parameter value (entered into an Input Box), and have that value also display in a selected cell on a worksheet | Excel Worksheet Functions |