We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to add a new workbook into Excel without open a new Excel Application?

just like the subject, my code is following: --------------------------------- object optional = Missing.Value; this.workBook = this.excel.Workbooks.Add(optional); -------------------------------- These codes can work well, but what is the problem is that it will open a new Excel Application everytime these code works. I want the Excel to run only once, how can I do? Thanks!

Live Chat Icon For mobile
Up arrow icon