We help IT Professionals succeed at work.

Crystal Reports Exported to Excel

I have the following code that spits out a Crystal Report in PDF format on the user's computer.  I need it to open up in xCel.  How can I do that?  

ReportLoader reportLoader = new ReportLoader("ReportName.rpt", ReportData);
reportLoader.ExportToHTTPResponse(HttpContext.Current.Response, true);

I need to get the ReportName.rpt to disk and then opened up in xCel, or just opened up in xcel.

Thanks
Comment
Watch Question

Senior Consultant
Most Valuable Expert 2011
Top Expert 2013
Commented:
What version of Crystal?

Is ReportLoader a class you built or is it something provided with Crystal?

You can write an application that exports the report to Excel.
I think these links can be used as the basis for you app
http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx

http://www.emoreau.com/Entries/Articles/2006/10/Crystal-Reports--Part-II.aspx

mlmcc