Is it possible to create and edit an excel document using OpenXML SDK without creating a local file?
As per the documentation the Create
method demands for a filepath
, which creates a local copy of the file.
SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(filepath, SpreadsheetDocumentType.Workbook);
I'm referring the MSDN article here: https://msdn.microsoft.com/en-us/library/office/ff478153.aspx
My requirement is to create the file, and it should be downloaded by the browser on clicking a button.
Any suggestion?