how to simulate file - new (before first save) via c# epplus

Aug 16, 2011 at 2:19 PM
Edited Aug 16, 2011 at 3:13 PM

 I am using epplus to generate a report that the user will be viewing in excel. If he needs to save it he then wants to do a file save in excel. Otherwise he wants to close excel and discard. Is there someway I can start excel in file new mode and update the cells of the in memory shown new file (not yet saved). Otherwise only approach is to create random files in some temp folder and show these files. Is there any eppplus call to open Excel and show generated file or must I use process.start().. thank you

Aug 18, 2011 at 6:49 AM

EPPlus only generates the ooxml files for you. Use Process.Start or the Excel API to start Excel.

Aug 19, 2011 at 2:11 PM

ok thx