Excel 2007 Automation Question

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

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
 
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
 
Back
Top