Exporting Crystal report to excel 2007 with an image

Hi - I hope this is the correct forum for this question.
We are using the Crystal report viewer and everything works just fine . When I go to export to excel (using office 2007) the images are not exporting, do you know if this is an excel 2007 problem or a Crystal issue?
Thanks in advance
DanPlo

Hi;
I still recommend installing the Service Pack. If the issue persists, and is contained to the version 8.5 reports, then yet, they will likely need to be converted to version 11.0 to work correctly. The Crystal Reports engine was completely re-written in version 9.0, so moving from 8.5 can cause some issues.
If you try exporting one of the 8.5 reports from the verison 11.0 Designer, do you have the issue?
Regards,
Jonathan

Similar Messages

  • How to export crystal report to excel through progeam

    Hi,
    Can any help me how to export crystal report to excel through program(C#). I'm using VS2005.
    Also, the report should be in a pivot table format after exporting to the excel..please help me how to do this
    Thanks,
    Venky

    Hi Venkat,
    The link below provides the code C# in an ASP.NET codebehind file
    http://www.codeproject.com/KB/cs/Crystal_Report_Export.aspx
    http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports.2
    Regards,
    Abhijeet  T.

  • Exporting Crystal report into Excel with code

    I have written the following code to export crysal reports to excel. My problem is, when it exports number it adds the thousand seperator (,), but if I export the report from Crystal designer, it works fine. So I believe I am missing something in my code. Could some one help me with this? Any help is greatly appreciated.
           Dim xlApp As Microsoft.Office.Interop.Excel.Application
            Dim xlBook As Workbook
            Dim myReport1 As New ReportDocument
            Dim reportPath1 As String = ""
            reportPath1 = "C:\test\su.rpt"
            myReport1 = New ReportDocument
            myReport1.Load(reportPath1)
            Dim tmpExcelFile As String = ""
            tmpExcelFile = "C:\test\test.xls"
            myReport1.ExportToDisk(ExportFormatType.Excel, tmpExcelFile)

    Hi Don,
    Please provide
    - Crystal Reprots version
    - Visual Studio version
    - Win or web app?
    Try using 'ExportToStream' see if it reproduces the issue.
    [1198587 - How to export a report to stream in C Sharp (C#) for Visual Studio .NET |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333533383337%7D.do]
    - Bhushan.

  • Export crystal report to excel with subreport

    I have a report with two subreport, and the question is when I export the main report to excel ( data only ) there is no data in the excel file, but when I just export the subreport to excel ( data only ), the excel file shows all data correctly. Does anybody know a solution can resolve this problem? Thanks.

    1. Add one more Report Footer by right clicking on the Report Footer and selecting insert section below
    2. Put Subreport 1 in the Report Footer a i.e. RFa
    3.Put Subreport 2 in the Report Footer b i.e. RFb
    4.Export the report to Excel Data Only.
    5. You should be able to see the data for both the subreports

  • Formating issue after export crystal report to excel format

    Hi Everyone,
    I have a crystal report devloped in crystal 8.5 and i am calling this report from my .net windows application.  I have a problem when i export the report in excel format. One of the column size(which is report footer) gets increased because of which my report is not properly formated. I have reoved all the blank lines and extra space but still i am not able to reduce the column size. Any help will be appriciated.
    Thanks in advance.

    Hi,
    Please let us know the Visual Studio Version that you are using, just to inform you, VS2005 is compatible with CRXIR2 and above and VS2008 is compatible with CR2008 + SP0.
    Do the report display properly from the designer? Does the Export from the designer in xls works fine?
    Thanks,
    AG.

  • Crystal Reports 2011 - excel 2007-2010 export

    Hello,
    I just upgraded to crystal reports 2011 from crystal reports XI Release 2. I am having an issue exporting to excel 2007-2010 format. When I do an export and then open it in excel, excel gives me an error message that the file is corrupt and if I want to recover the contents. When I try and recover the contents, I am greeted with the error below. I am not sure what to do to fix it and would appreciate any help.
    Removed Part: /xl/sharedStrings.xml part with XML error.  (Strings) Illegal xml character. Line 3, column 19160.
    Removed Records: Cell information from /xl/worksheets/Sheet1.xml part

    Hi Marina, 
    What version of Excel are you using to open the report? 
    Have you tried creating a simple report and exporting it?  It's possible something in that report is causing the problem. 
    Good luck,
    Brian

  • Problem with Exporting crystal report to Excel

    Hi !
    I am new to crystal world. I have an application which has csp code. From the csp code (internal website) we invoke crystal using viewer.cwr to view or export reports. Last week we upgraded from Crystal 10 to Crystal Reports XI Release 2. Due to this upgrade we did some modification to the Viewer.cwr url ( Changed to Viewer.asp too). Now the View option is working fine but when the report is exported to an Excel the columns are squeezed up.
    Here is the code for the viewer.asp :
    ExcelWindow = window.open("http://servername/crystalreportviewers115/viewrpt.asp?id=" + id + "&apstoken=" + escape(token) + <%Response.Write("'"&sReportLogin&"'")%>'&promptex-REPORTDATE='pRptDate'&promptex-State='pState'&promptex-usertype='pUserType'&promptex-startreport='pStartpSelect'&cmd=export&export_fmt=U2FXLS:3&',"ExcelWindow", windowprops);                                                         
    Is there any way to solve this formatting issue ? I tried changing the export format option as "export_fmt=U2FXLS:4" but this pulled up the data with the report header and sub heading in one row. Please help. 
    Nandita

    Hi Kedalene,
    Please check below links.
    Microsoft Visual C++ Runtime Library:
    VC++ runtime error
    C++ Runtime Error when installing addons | SCN
    Hope this help
    Regards::::
    Atul Chakraborty

  • Export Crystal Report to Excel with Grids

    Can anyone tell me how or if it's possible to include the grid lines when exporting from Crystal Reports (version 10) to Excel?   I am exporting as "data only" because I need to include field properties (color, bold, etc.).  Because of this, I don't see a "Show Gridlines" option on the export.   On the Crystal report, I have selected both single line and double line borders for each field on the report, but it's not transferring over to Excel.
    Thanks for any help you can provide.

    I did adjust the col. widths, but on larger col. headings, the text was chopped off.   I could get around this by making the field wider on the Crystal report.  With having so many cols., this was an issue.   And if the detail wasn't the same width as it's corresponding header, the report was not pretty.  
    This report was an evolution with me trying different things to get everything to fit in the designer until I finally discovered the Image Writer.   By exporting as Data Only, it doesn't matter how wide the heading/field is in the designer because the entire text exports.   Then I just select the entire worksheet and adjust the col. alignment so that everything shows.   I had to play around with things to get my colors and fonts to export - but the grids were the only remaining piece to the puzzle.  
    As it turns out, the users are happy with the end result without the grids.   They can add them manually if they so choose.
    Thanks

  • Error while exporting crystal report to excel format or word format

    i am using vs 2010 and sap crystal report(version 13.0.0.99) for vs 2010. when i export report to excel(97-2003 format) from crystalreportviewer, i am getting error that application has stopped working.  I also have ms-office 2007 install on my pc.
    when i see eventlog of system i notice following error:
    Faulting application name: NBFCForms.exe, version: 1.0.0.0, time stamp: 0x4e170b01
    Faulting module name: crxf_xls.dll, version: 13.0.0.99, time stamp: 0x4cc412ac
    Exception code: 0xc0000409
    Fault offset: 0x0009742e
    Faulting process id: 0xc60
    Faulting application start time: 0x01cc3e1e5657a4a4
    Faulting application path: C:\Users\Harshada\Desktop\NBFCDeploy\NBFCForms.exe
    Faulting module path: C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crxf_xls.dll
    Report Id: f0bae850-aa11-11e0-a98e-0019d144259b

    Thanks Roberto and Kalpana.
    This link solved the problem:
    http://social.msdn.microsoft.com/Forums/en-US/bcf792f4-4da3-4dac-b689-60168e695683/error-internet-explorer-cannot-download-edreportviewerwebcontrolaxd-from-site?forum=vsreportcontrols

  • Crystal Reports 2008 - Excel 2007 Data Source

    Have been using Crystal reports 10 and have downloaded 2008 but I can't see a way that I can use an Excel 2007 spreadsheet .xlsx as a datasource. The reason I need 2007 is due to the increased number of columns.
    Can anyone confirm if it can be done if so how
    cheers
    Malcolm

    Hello,
    Sorry its not supported. Next version of CR will support it.
    CR 2008 will generate sheets for every 65,000 rows of data.
    If you need that many coumns you may want to look at some other export format or refining your data.
    Thank you
    Don

  • Exporting Crystal Report To Excel

    Hello,
    I have created a report in crystal for my company. It sorts by rep name, then customer, then products they purchased. When I export to excel, it comes over fine, but the customer name, address, etc. is in the same column as quantity, price, etc.
    I want to be able to sort this date in excel by customer, or product, etc. but cant since some of the data from the crystal report takes up the same columns as other data within excel, also the formating,"******: and other stuff that sperates the data in crystal report to make it easier to read when printed comes over to.
    How can I export this report without all the formating, page formats, etc. not coming over to excel and be able to have each unique field within its own column so i can sort easily in excel.
    thanks
    don

    Hi,
    Place the fields next to each other in report design. Set appropriate width. While exporting in Export window select following format from dropdown
    Microsoft Excel 97-2000 Data only (XLS)
    click OK
    then in Excel Format Options window select
    Excel Format 'Custom: Data is exported according to selected options' radio button. There are three radio buttons.
    In Column Width select 2nd radio button
    Column width based on objects in the : Details (there is dropdown for this)
    And at the end there 8 check boxes. Out of 8 you have to select 4
    check - Export object formatting
    check - Maintain relative object position
    check - Simplify page headers
    check - show group outlines
    Hope this helps.

  • Cannot export crystal report in excel format from crystal report viewer

    This problem occurs on only one workstation.
    Open Advanced Reports > Enter workorder # > Click on 'workorder work(uninvoiced)' > Work order opens.
    Click on icon "Export report"
    Save as type: change to .xls
    Error: Crystal Report Windows Forms Viewer. Error in file
    SAP.......rpt:
    Error detected by export DLL:
    Export failed.

    Try adding c:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to your windows enviroment variable PATH then restart.

  • Exporting Crystal Report to Excel Data Only Fails On Demand in Infoview

    I am having the following problem with only 1 report in Business Objects.  The report runs fine in Infoview, but the Excel export fails after around 5 minutes.  It exports fine when scheduled.  The reports is over 3,000 pages of data and comes in at around 45MB.  It will export up to 2500 pages fine on demand.  But this whole report used to run and export on demand perfectly.  Perhaps only a few hundred records were added recently but that is all.  I don't know of any other changes to the system.
    The error says:  CrystalReportViewer
                                   handleCrystalEvent failed
                            Unable to retrieve Object
                            The Page Server you are trying to connect to is not accessible.  Please contact your system administrator
    Again, this is the only report this happens on.  I've searched everywhere on the Internet without a solution.
    Page Server settings:  60 and 120 minutes  Unlimited records
    Cache Server settings:  1000000 Kbytes;  80 minutes;  it sees the page server in Metrics
    If any more settings would help to diagnose the problem, please let me know.  Thanks for the help.

    How many number of rows are there in the report?
    -Rahul

  • Problem opening downloaded report in Excel 2007 with Hierarchy (BW 3.5)

    Hi,
    When we download a BW (3.5) report from the web to excel with an hierarchy (for example on a GL account or cost element) and try to open it in excel (version 2007), it takes a very very very long time (aprox. 15 minutes) to load a simple report. Normally this should only take 5 secs. When we download the same report without an hierarchy it opens as fast as normal.
    This problem is very recent and in the last year at least we have never encountered it.
    Do you know what could cause this and how we might be able to fix it?
    Thank you very much for your help!!
    Kind regards,
    Hermen
    Edited by: Hermen Wijbenga on Oct 23, 2008 2:41 PM

    Hi Experts,
    Could somebody help me.

  • Exporting Crystal Report data to the Excel Print Headers

    Hello everyone.  I am trying to do something with Excel headers that is a little more advanced than the usual.  I have multiple reports that are designed to export to Excel.  Normally I only export a report header.  However, I have a customer who wants a label to appear in each page header and footer in Excel. Here is the catch - they want the label to appear in the Excel print header and footer, not just on the main excel page.  The label contains an SBU marking, so there is a requirement that it gets printed on every page.
    If you are not familiar with the print header, it is a separate section of an Excel document that appears when you print the excel document.  For this operation, I don't think I can use the built-in Crystal Export options.  I have tried to Export to Microsoft Excel and I can send the page header and footer to the Excel data sheet, but not to the print header/footer. 
    Thanks for your help!
      - David

    Hi David,
    I haven't worked with Excel's headers and footers but you are correct that Crystal can't export to those sections.  I have though had to make modifications to an Excel file after exporting and I believe you will need to do something similar to what I did.
    After I exported the report to Excel, I had a program I wrote that opened the Excel file and modified it.  In my case I just had to encrypt it, zip it up and email it.  You may need to do something as well outside of Crystal and Excel.  Crystal doesn't export to an Excel template so automating it in Excel wouldn't work.
    Good luck,
    Brian

Maybe you are looking for