CrystalReportViewer Export to Specific Excel Sheet
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: CrystalReportViewer Export to Specific Excel Sheet

  1. #1
    Join Date
    May 2011
    Posts
    2

    CrystalReportViewer Export to Specific Excel Sheet

    The CrystalReportViewer allows me to export my report to an Excel file, but it always saves the report as sheet "Sheet 1" in a new file.

    Is there a way to get the CrystalReportViewer to save the report to an existing Excel file and specify what to name the sheet in saves the report to?

    Thanks for the help.

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,092

    Re: CrystalReportViewer Export to Specific Excel Sheet

    I don't think so. The ExportOptions do not provide that ability, at least, AFAIK.

  3. #3
    Join Date
    May 2011
    Posts
    2

    Re: CrystalReportViewer Export to Specific Excel Sheet

    Dang.
    Well, thanks for the reply.

  4. #4
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,092

    Re: CrystalReportViewer Export to Specific Excel Sheet

    Well, it can export to an existing file, so it is something at least...

  5. #5
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,987

    Re: CrystalReportViewer Export to Specific Excel Sheet

    You can RENAME it after it is exported, right?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center