Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Excel 2007 Automation Question

1 view
Skip to first unread message

Mark

unread,
May 8, 2008, 11:19:02 PM5/8/08
to
What I want to do is bring data into an excel 2007 worksheet that is stored
in a sql database table.

The idea is to parameterize the "where" clause in the sql select statement
limiting the result set.

There are lots of examples in the literature with regard to bringing in data
stored in cubes --- but not so much from data in sql table.

The basic issue is I want bring in descriptive information about say a
contract (things like description, signing date, etc). Cubes which most
(all) of the literature deals with are dealing with aggregations of amounts
or "measures" and not so much about descriptions.

As always all suggestions are welcome.

Mark

Alvin Bruney [ASP.NET MVP]

unread,
May 10, 2008, 9:17:42 PM5/10/08
to
It depends on where the excel worksheet resides. If it is on a sharepoint
server, you can do so easily. It sounds like it's not. If you have a cube,
you can tweak the MDX expression, it supports a where clause. Otherwise,
just use a filter in excel - it's functionally equivalent to a where clause.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------


"Mark" <Ma...@discussions.microsoft.com> wrote in message
news:A157B8D5-AE7B-44CC...@microsoft.com...

0 new messages