Update an Excel spreadsheet when submitting an InfoPath form to SharePoint 2013

In this InfoPath video you'll see how you can write data to an Excel workbook that is stored in a SharePoint document library while submitting an InfoPath form to a SharePoint form library.

In recipe 112 of InfoPath 2013 Cookbook 2, you'll learn how to update an Excel file that is stored in a SharePoint 2013 document library with data from an InfoPath form that is being submitted to a SharePoint form library.

Get more solutions from InfoPath 2013 Cookbook 2 which is available on Amazon.com
Watch next video: Submit SharePoint list item to Excel workbook via InfoPath 2013

InfoPath demo video transcript:

Here I'm in SharePoint 2013 where I've got this Excel workbook, which as you can see is currently empty. The idea is that I would like to submit an InfoPath form to a SharePoint form library, and while submitting the InfoPath form, write data from the form to cell A1 on Sheet1, and to cell A1 on Sheet2.

I've already published an InfoPath form template to this SharePoint form library, so I'll add a new form, enter some data, and then submit the InfoPath form back to the SharePoint form library.

Once the form has been submitted, I'll go check on the Excel workbook to see whether the data has been written to it. So here we have Jane in cell A1 on Sheet1, and Doe in cell A1 on Sheet2.


Related InfoPath Demo Videos:


Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author.

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013