Hey guys I have template of excel Which is given by Client I want to set values in it and save new file Please tell me how to do it
-
1So you want to automate Excel. There are several good online resources for this, like this one from Microsoft.– FrecklefootOct 27, 2016 at 20:17
-
I'm doing this by Console app but i'm having problem in asp.net– Danish AmanatOct 27, 2016 at 22:48
-
If it's a Console app, why are you using ASP.NET?– FrecklefootOct 28, 2016 at 16:05
Add a comment
|
1 Answer
The easiest way would be to use Interop. I use OpenXML to build workbooks from scratch, but it has a steep learning curve. Interop is well described here in StackOverflow and Microsoft has helpful doco. Do some research and come back with specific questions.