Create Excel document from a ContentType in SharePoint
- by Saab
Is it possible to create an Excel document using VSTO, using a SharePoint contenttype?
Creating a document in VSTO based on a template is easy.
Workbook newWorkbook = this.Application.Workbooks.Add(@"C:\temp\TestTemplate.xltx");
But the "template" that's assigned to a content type in SharePoint has xlsx as an extension.