CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2010
    Posts
    6

    Data export to excel in requisite format

    Main_id north
    sr_no, detail,sr no, detail, sr_no detail

    1 123 6 153 11 923
    2 123 7 163 12 123
    3 123 8 173 13 546
    4 123 9 183 14 234
    5 123 10 143 15 878

    page break
    Main_id south
    sr_no, detail,sr no, detail, sr_no detail

    1 123 6 153 11 923
    2 123 7 163 12 123
    3 123 8 173 13 546
    4 123 9 183 14 234
    5 123 10 143 15 878


    in 5 rows and six column group by main id with page break when new main_id starts .

    how to achive this

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: Data export to excel in requisite format

    Not sure about the page break; check the documentation to the libraries below.

    This library may be helpful: http://code.google.com/p/excellibrary/

    See also this post on stackoverflow (where I found the ExcelLibrary link) that may be related to your question: http://stackoverflow.com/questions/1...sx-file-from-c

    If you scroll down, there are some blog posts that someone comments were quite useful.

    Hope that helps a little. Good luck!
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured