My requirement is to open an excel template and edit in memory and then download to user. This needs to be done in .net MVC web project so I tend to use OpenXML instead of InterOp.
The whole idea is I have an excel template which has two sheets. Second sheet contains a set of datasources which I have bound as a range selector in first sheet cells. Now, based on which user is logged in, I need to change the data in datasources and same will be reflected into the first sheet.
This template is added into the project. For concurrency, I don't want to edit this template. I am thinking to either make a copy of this and download it to temp or best if I can take the snapshot of this template in memory and edit the sheet to and then stream it to the response for user to download.
Any help, links, articles based on OpenXML SDK will be really helpful.