How to create excel file from InfoPath xml - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to create excel file from InfoPath xml

Last post 08-21-2011 12:09 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-15-2011 01:14 PM

    How to create excel file from InfoPath xml

    Hi,

    Is there a way to create excel file from InfoPath xml data?

    When something like button clicked event happens, I want to write a c# code behind to convert InfoPath xml data to create excel file.  Is there a way to do this?  How do I code it?

    Thanks.

  • 08-21-2011 12:09 PM In reply to

    Re: How to create excel file from InfoPath xml

    Hi Gombear and welcome,

    We have done this for a number of forms and have code that does it but we haven't posted to the forum. Basically you just create an Excel object and then use the Excel object model to transfer the data. It's not hard and there are good articles on MSDN that describe how to start Office applications from within another. The Excel object model is also published on the Microsoft site.

    Good luck!

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.