Link to home
Start Free TrialLog in
Avatar of smantz
smantzFlag for United States of America

asked on

Creating Excel Spreadsheet with SQL queries in individual cells

Hi there,

As the topic states, I would like to know if and how individual cells in an excel 2007 spreadsheet can have their own unique query drawing data from my SQL 2000 RDMS?

I have used pivot tables but, for this situation I think individual cell queries would be best.

Thanks,

--Steve
ASKER CERTIFIED SOLUTION
Avatar of Jan Karel Pieterse
Jan Karel Pieterse
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smantz

ASKER

Hi there,

Without being right in front of my information, I think about 27. The queries are already written and tested in SQL, hopefully,  it's just getting everything setup properly in excel and getting the data connection setup properly.

SM
Correct. Are all queries returning just one cell?
In any case, this shouldn't be a problem, just follow the steps 27 times :-)
Avatar of smantz

ASKER

The only problem I run into is you are unable to assign more than one sql query per connection.  I found a different solution by combining the queries on the SQL end.

Thanks and stay tuned for another post.

-Steve
I was going to suggest to combine them into one View/Stored proc indeed.