Create Excel document from a ContentType in SharePoint
Posted
by Saab
on Stack Overflow
See other posts from Stack Overflow
or by Saab
Published on 2009-09-15T12:32:34Z
Indexed on
2010/03/17
18:01 UTC
Read the original article
Hit count: 466
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.
© Stack Overflow or respective owner