Excel Export Options Window

I am using CR Basic with VB2008. Is there a way to display the Excel Export Options dialog when the user selects to export a report to Excel? I am wanting to do this through code, but is it even possible? This is the same dialog that pops up when you select to export a report to excel from within the IDE.
Thanks,
  Steve

The below, are the only exposed export option APIs:
Private Sub ExportReportInExcel(ByVal reportDocument As ReportDocument, _
      ByVal fromPage As Integer, ByVal toPage As Integer)
      Dim myExportOpts As New ExportOptions
      myExportOpts.ExportFormatType = ExportFormatType.Excel
      Dim myExportFormatOptions As ExcelFormatOptions = _
      ExportOptions.CreateExcelFormatOptions()
      myExportFormatOptions.ConvertDateValuesToString = True
      myExportFormatOptions.ExcelAreaGroupNumber = 1
      myExportFormatOptions.ExcelAreaType = AreaSectionKind.Detail
      myExportFormatOptions.ExcelConstantColumnWidth = 9.5
      myExportFormatOptions.ExcelTabHasColumnHeadings = True
      myExportFormatOptions.ExcelUseConstantColumnWidth = True
      myExportFormatOptions.ExportPageBreaksForEachPage = True
      myExportFormatOptions.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage
      myExportFormatOptions.FirstPageNumber = fromPage
      myExportFormatOptions.LastPageNumber = toPage
      myExportFormatOptions.ShowGridLines = True
      myExportFormatOptions.UsePageRange = True
      myExportOpts.ExportFormatOptions = myExportFormatOptions
      reportDocument.Export(myExportOpts)
    End Sub
The sample app vbnet_win_export.zip availbale from [here|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples] may help.
The InProc RAS has the property MaintainColumnAlignment in addition to what the CR SDK has which is probably the colsest to "Maintain relative object position"
[This|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e041f772-9d3b-2c10-a790-e3ea083a3dce] is a RAS excel export sample app.
Developer help file is [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm].
API reference is [here|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
The above are for Crystal Reports. RAS is at the following links:
http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_dg_12_en.chm
http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_apiRef_12_en.chm
Ludek

Similar Messages

  • Excel export options now showing in report viewer

    HI,
            I'm workin on a project and I'm having some problems when exporting to excel using crytal reports server XI. When i try to export to excel, first the excel export options is not showing. Second, when I export to excel, the columns are correctly align. it's like exported all over the place. Please help

    Excel export options are not shown when exporting from the viewer in .NET.  You will need to set up the excel export options like you want them to be in the designer first under File|Export|Report Export Options.

  • Excel export option is not available?

    Hello All,
    We are using Crystal X1 viewer to view report in IBM WebSphare environment. It is working perfectly except one issue.
    When we click an export button it open another pop up window where the export file format can be selected. there are options to export in
    1. RPT
    2. PDF
    3. RTF
    but no Excel option.
    Is there is setting or coding that need to be adjusted.? if it is the case then please let me know where.
    Appreciate in advance for helping me out.
    Thanks

    Thanks  Aasavari for replaying.
    Actually the link you provide is for Eclipse 2.0. I am using Crystal Report X1 Version=11.0.3300.0.
    I have down loaded an other Version=11.5.3300.0. With this version, I got one extra option to export which is "Microsoft RTF(edit)  " but not Excel option.
    further investigation found that the difference is b/w two version is coming from CrystalExporters.jar.
    I tried to loo properties file but could not figure it out.

  • No Excel Export Option in CRViewer?

    I'm sure I'm missing something simple.  Excel is NOT one of the available export formats when I try to export the report from the CRViewer.  I can't find anything on dependencies, etc.  What do I need to do?  Thanks!

    <p>The JRC doesn&#39;t support exporting to Excel.  You&#39;ll have to use CSV.</p><p>It very high on the list of new features.</p><p>Sorry. <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Advanced Excel exporting features display question.

    My company is using Crystal Reports XI and we're having an issue where we can't control the column width and remove page breaks as we could in Crystal Reports 9 when exporting to Excel.  Is there a way to display these same features in Crystal Reports XI when exporting to Excel format?
    John

    Deepti thanks for your response, Sorry maybe I should have specified a little clearer which version of Crystal Reports XI my company is running.  My company is running Crystal Reports XI server powered by Business Objects.  So when I run a Crystal Report I only see an Icon for Exporting and Printing.  I don't see a place for
        "* File > Export > Export report
    Format : Microsoft Excel 97-2000(XLS) and Destination: Application / Disk File > Click OK
    Then Excel Format Options windows comes:"
    I only see an icon for export and print.
    What happens when I click the export icon is it will allow me to chose which format I want (i.e. Microsoft Excel 97-2000(XLS)) then from there I can only choose the page range.

  • Column with blank values in a excel export.

    Hello
    I Export a Report to Excel.
    That's work fine but i have a problem.
    when in a detail section one value of one column is blank, the export discard the cell.
    in result , the values after the blank do not corresponding any more with there header....
    i find this source on this bug on the web
    http://aspadvice.com/blogs/crystal/archive/2004/04/20/2199.aspx
    but the solution inside that post do not work ...
    any idea ?

    i work with VS2008 in c# with the FW 3.5
    my bug is not in design mode
    the code where i format the excel export option :
    ExcelFormatOptions b_Format = new ExcelFormatOptions();
    b_Format.ShowGridLines = true;
                            b_Format.ExcelTabHasColumnHeadings = true;
                            b_Format.ExcelUseConstantColumnWidth = true;              
                            b_Format.FirstPageNumber = p_intPageDepart;
                            b_Format.LastPageNumber = p_intPageArrivee;
                            if (p_intPageDepart != 0 && p_intPageArrivee != 0)
                                b_Format.UsePageRange = true;                                                                               
    l_ExportOptions.ExportFormatOptions = b_Format;
    the program is a .net DLL use by a VB6 program....
    The Dll is used for all Crytal works.
    i show the Rpt successfuly. but when i export the rpt to excel the bug is present in the exported file.

  • Export option in Apps menu is not working in Windows-XP OS

    We have standard export option (File -> Export) in 11i oracle applications to download records from tabular block to spread sheet. We are facing problem with Windows XP OS, it will run upto export but the "fnd_gfm.tsv" is not opening (the file disappear after process is completed). any one can help me to overcome this problem.

    Please verify the following, and check then:
    - Add the application URL to the trusted sites list (From IE, go to Tools > Intetrnet Options > Security > Trusted Sites).
    - Turn off any pop-up blockers (IE, Google, MSN, AOL, Yahoo, .. etc).
    - From Windows Explorer, go to (Tools > Folder Options > File Type), make sure that files with tsv extension opens with Microsoft Office Excel.

  • Does anyone know how to hide the export option for excel 2007

    Does anyone know how to hide the export option for excel 2007?
    We are having an issue with negative numbers downloading as text field in excel 2007, works fine in excel 2003.
    We are on version 11.1.1.7.0 of OBIEE.
    Thanks for any response.

    Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup

  • Export to Excel Formating Option Problem

    Hi all!
    I create a Crystal Reports.when i export to Excel File in a winform app,there has the 'Create page breaks for each page' option,but in asp.net web page.there is only two option,and not include the 'Create page breaks for each page' .I excpet the Excel File was page breaked.
    has any ideas?
    Thanks!
    Ray

    You can use the ExcelFormatOptions to specify what you want the export to look like.
    Look for it here:
    [http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You can also set up the reports export options that you want to always be used by opening the report in Crystal and going to File|Export|Report Export Options.
    I am not sure about the 2nd question.  You will want to create a new thread for that and someone else may know the answer.  Can you do it when you export it from Crystal Reports? If not, then you won't be able to do it from your application.

  • What export options in Quicktime Pro or Final Cut Pro should I select to export  HDV video in .MOV files to highest quality Windows-compatible files?

    I have some HDV video files imported through iMovie to .MOV files with Apple Intermediate Codec.
    I need to convert these to Windows compatible video files of the highest possible ( least loss) quality.  What export options in Final Cut Pro or in Quicktime Pro should I select?  The codex in the converted files must not be Apple Intermediate Codec, for which there is no Windows version.

    Okay, I read the whole Flip4Mac website.
    Flip4Mac is an application for Apple computers. 
    Perhaps my question was unclear.  When I posed it I was thinking of asking somebody with an Apple shop to do the conversion for me, and wanted advice on settings for his QUicktime Pro /Final Cut Pro that would produce the highest quality Windows -compatible files.
    The Windows version of Quicktime will not play Quicktime files with Apple Intermediate Codec.  You get black screen video, although the audio does come through.
    So here's what I need:  I need a Windows application that will transcode Quicktime files in Apple Intermediate Codec, with no loss or very little loss, to WIndows-compatible files.   All Windows, all the time.  Thank you.

  • Excel Export - Window Disappears!?!?!

    Post Author: shorepound
    CA Forum: Exporting
    We're running a C# .NET 1.0 Application on Win2k3 Server Standard, SP 2. We have CR 9 installed on the server. Back around the time when DST information was updated on the server, we upgraded to SP 2. We were running on SP1 before, and we could export CR to Excel without a problem. After all of the updates, when you try to export to excel, the report window just disappears?!?! Usually you get a prompt to 'Open' or 'Save' the Excel Document. Not anymore.
    I have tried everything, and here is what I know:
    This is not a pop up blocker issue.
    We uninstalled and reinstalled CR 9 on the server, no change.
    Reports that export to PDF still work like a champ.
    This has been driving me crazy! I am hoping someone here can help!
    Many thanks in advance.
    -Nathan Arnold

    Post Author: shorepound
    CA Forum: Exporting
    We're running a C# .NET 1.0 Application on Win2k3 Server Standard, SP 2. We have CR 9 installed on the server. Back around the time when DST information was updated on the server, we upgraded to SP 2. We were running on SP1 before, and we could export CR to Excel without a problem. After all of the updates, when you try to export to excel, the report window just disappears?!?! Usually you get a prompt to 'Open' or 'Save' the Excel Document. Not anymore.
    I have tried everything, and here is what I know:
    This is not a pop up blocker issue.
    We uninstalled and reinstalled CR 9 on the server, no change.
    Reports that export to PDF still work like a champ.
    This has been driving me crazy! I am hoping someone here can help!
    Many thanks in advance.
    -Nathan Arnold

  • Using MAPI Outlook 2007 on Windows 7 Errors Invalid export options

    O.S : Windows 7
    Email Client: Outlook 2007
    Crystal Reports 2008 Dev Environment
    Use MAPI ExportDestinationType and invoke Export() returns Invalid export options
                     pRpt.ExportOptions.ExportDestinationOptions = MailOptions
                     pRpt.ExportOptions.ExportFormatOptions = CrystalDecisions.Shared.ExportOptions.CreatePdfFormatOptions()
                     pRpt.ExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
                     pRpt.ExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.MicrosoftMail
                     pRpt.Export()
    Seems to be interface compatibility issue between Crystal Export API and Outlook 2007 MAPI API
    This thread explains more
    Windows 7 - Exporting to Mapi problem
    Edited by: Aumil Manzoor on Dec 16, 2009 1:24 AM

    Essentially you've posted the same issue twice. Once in this thread and once here;
    Windows 7 - Exporting to Mapi problem
    One post is good enough. Let's continue on the other thread and close this one.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • "Invalid Export Option" Crystal 2008 SP3, Windows 7, Outlook 2010 (32 bit)

    We have one client reporting that they get "Invalid Export Option" whenever they try to email a report.  We used the supplied code with VS 2008 to implement the ability to view, print, export, and email reports.  Our Windows 7 computers all work without issue, except for the one with 64 bit Outlook (which is a known issue), so I'm guessing this is security/SPAM protection at the client, but it doesn't affect any of their XP computers. 
    Any suggestions would be greatly appreciated

    Thank you for the info, much better.
    Have them download the trial version of CR 2008, they will have to do a Repair install of your app and CR runtime when they uninstall the trial version. Then see if they can export from the Designer.
    Or if you prefer they not have access to the designer then use ProcessMonitor and follow along as they try to export, look for access Denied entries. I assume all other export formats work? Most have a pop up also to see if it's a CR issue.
    There are few options for security settings in Outlook itself to not prompt but like you say it appears they are not even getting that far. Could be the pop up is behind your app, I've seen this happen before.
    I did a google search and found quite a few posts on this issue. You may want to search also to see if something will help your user to get around this issue.
    Possibly adding your app EXE to the trusted list in their Anti-virus software may help also. And if you haven't done so look in the various logs in their AV and Firewall and even Event Viewer to see if it captures and access denied errors.
    Thanks
    Don

  • QT 7 Pro (Windows) missing WMV export option?  It's in QT/Mac...

    Bought QT Pro for my wife's XP computer, so she can convert small .mov files from textbook-bundled CDs to .avi/cinepak or wmv so that powerpoint can import them natively, and she can give them to teaching assistants to use in class sections. The exported file, when properties are viewed, has the exact same specs and codec as an avi file that plays fine within powerpoint. WMV plays them fine standalone.
    Except, using the Window QT 7 pro, the converted .avi files will play within powerpoint (2003). It thinks it can read the avi (powerpoint will import them) and the slide shows the preview, but things just goes blank when you attempt to play. No error messages, no sound, no disk activity.
    If I put the original .mov on my Mac, and export it with QT Pro, I have WMV 9 audio and video export formats available. QT Pro 7 Windows, has only mp4 (no formats of which are readable natively in powerpoint) and other non-useful formats, not including WMV9. It's just not there. avi w/cinepak/InterVideo etc. also fail to be properly formatted- they don't play in powerpoint.
    What gives? The Windows version of QT Pro can't export to WMV format, the only one that goes natively into powerpoint?
    The mp4 might be playable if I update to the latest directX, but you can't count on everyone having that, while WMV just works. And the Mac version actually works?
    Granted powerpoint isn't the best thing but it is clear to me that the QT-exported avi is not properly formatted. And wy is there no WMV option- it's not ghosted as if the file was wont bit depth or or something for the format, it's just not an option when exporting from the Windows version of QT Pro.
    If I wanted to et her up with ffmpegX and make this complicated, I could have. Buying the QT Pro was supposed to make it easy.
    Thoughts?

    sorry for typos, to make it clear, .avi files converted by QT 7 Pro Windows from .mov do NOT play in Powerpoint 2003, although they do import. The video codec and audio are same settings as .avi files that DO import (and were not converted by QT).
    Performing a conversion to WMV9 format on my Mac QT Pro 7 imports fine into Windows powerpoint. There is not a WMV export option on the Windows QT pro.
    I'd prefer to have WMV export but would settle for .avi it it would import and play as I need it to.
    The converted .avi file plays fine in Windows Media Player under XP. Just not in Powerpoint.
    Office and XP updates are very recent, within 2 months for sure.
    Thanks for help.

  • CR2008 SP3 - Export options

    Environment:
    OS: Windows XP (SP3)
    Crystal Reports : 12.1.0.892
    We are making use of Report Viewer in our applciations (.Net)
    And when we want to export to Excel 2007 and CSV we are not able to find options.
    We can see only Excel (97-2003) and other options.
    How we can get export to CSV and Excel 2007 (.xlsx)

    Not sure why that would be the case. See the wiki [Available Export Formats, Crystal Reports 9.1 to Crystal Reports for Visual Studio 2010|http://wiki.sdn.sap.com/wiki/x/FINiAw] for more details.
    Three things I'd like to mention / recommend
    1) You are on CR 2008 Service Pack 1. Update to SP4 by installing, then installing SP4. Service packs can be found on the downloads page:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    2) Note from the wiki that the some export options are not available via the viewer, but are available via the engine (not sure if this is the case here).
    3) For an exporting sample app see vbnet_win_export.zip from this location:
    http://wiki.sdn.sap.com/wiki/x/JQBmBQ
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Maybe you are looking for