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.
Syncfusion Feedback

Excel error

Thread ID:

Created:

Updated:

Platform:

Replies:

51912 Nov 16,2006 12:40 PM UTC Nov 16,2006 04:09 PM UTC Windows Forms 1
loading
Tags: XlsIO
Anna Srinivasan
Asked On November 16, 2006 12:40 PM UTC

Hi,

Please find attached picture for excel error.
1) What is root cause of this problem?
2) How do we avoid this error?

Kindly help me on this.
Regards,
Anna


excelerror.zip

Chella Pandian B [Syncfusion]
Replied On November 16, 2006 04:09 PM UTC

Hi Anna

By Setting the property excelEngine.ThrowNotSavedOnDestroy to false before saving the excel file we can avoid ExcelWorkbooknotSavedException.


ExcelEngine excelEngine = new ExcelEngine();

excelEngine.ThrowNotSavedOnDestroy=false;

workbook.SaveAs("Sample.xls",ExcelSaveType.SaveAsXLS);

Let me know any other queries.

With Regards,
Chella.

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.

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

;