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
smantzDirector of TechnologyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jkpieterseCommented:
Data, From Other Sources, From Microsoft Query.

How many queries are you planning to have?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
smantzDirector of TechnologyAuthor Commented:
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
0
jkpieterseCommented:
Correct. Are all queries returning just one cell?
In any case, this shouldn't be a problem, just follow the steps 27 times :-)
0
smantzDirector of TechnologyAuthor Commented:
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
0
jkpieterseCommented:
I was going to suggest to combine them into one View/Stored proc indeed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.