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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Platform:

Replies:

1846 Dec 1,2002 05:23 AM Windows Forms 0
loading
Tags: FAQ
UESTC
Asked On December 1, 2002 05:23 AM

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!

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;