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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Open new xls instance

Thread ID:





126025 Sep 19,2016 01:03 AM UTC Sep 20,2016 11:20 AM UTC WinForms 3
Tags: XlsIO
Asked On September 19, 2016 01:03 AM UTC

Hi, I am trying to open a new instance of Excel before exporting data to this instance, and apparently I have not seen any properties that helps to do that. All the codes are about opening an existing file, or save the changes to a new file, I would like to open a new file, perform the export (this part is performing well), leaving an unsaved file. Thanks in advance - Nicolas

Abirami Varadharajan [Syncfusion]
Replied On September 19, 2016 11:25 AM UTC

Hi Nicolas, 
Thank you for contacting Syncfusion support.  
You can create a new Excel document with the below code snippet. 
Code Snippet: 
application.DefaultVersion = ExcelVersion.Excel2013; 
IWorkbook workbook = application.Workbooks.Create(1); 
Please let us know if you have any concerns. 

Replied On September 19, 2016 11:56 PM UTC

Hi I already tried that, but did not worked for me, however I found a workaround by saving the file in a temporary folder and opened this file - Thank you! - Nicolas

Abirami Varadharajan [Syncfusion]
Replied On September 20, 2016 11:20 AM UTC

Hi Nicolas, 
We are glad that your issue is resolved through a workaround. 
You can also save the workbook to a stream and reopen it whenever needed. 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon