Link to home
Start Free TrialLog in
Avatar of PeterMillsUK
PeterMillsUK

asked on

How can I load an xls file and refresh a pivottable using OWC?

We have a classic database reporting setup with SQL Server 2005, ASP .net 2 and IE 6. The reports produced are highly customised and do not neatly fall into datagrid style layouts. Additionally the reports have already been developed to use an excel pivottable embedded in the report to select and layout the data (using GETPIVOTDATA).

We want to make it possible for a user to be able to select a number of parameters from a webpage to filter the data in the report and then make the report available for download.

Can the Office Web Component (OWC) be used to load a copy of the excel template and refresh the pivottable against a stored procedure in SQL?

This works using Excel Automation, however Excel cannot be installed on the webserver; the Office Web Component (OWC) is available. Version 10 is currently installed, although 11 could be installed if necessary.

Avatar of PeterMillsUK
PeterMillsUK

ASKER

Further research suggests that this is not possible:

http://www.eggheadcafe.com/aspnet_answers/officedeveloperwebcomponents/Aug2006/post27684322.asp

The OWC cannot open XLS files, neither can it open Excel XML files as the file structure is different.
ASKER CERTIFIED SOLUTION
Avatar of lynx20
lynx20
Flag of United States of America 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