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.

ExcelRW cannot open a protected excel workbook.

Thread ID:

Created:

Updated:

Platform:

Replies:

27870 Apr 19,2005 01:59 PM Apr 19,2005 02:28 PM Windows Forms 1
loading
Tags: XlsIO
Kinapara Coulibaly
Asked On April 19, 2005 01:59 PM

Hi, The method ExcelUtils.Open(filename) generate an exception when the workbook is protected. The exception message is: {"\r\nParameter name: length\r\nActual value was 3." } You''ll find attached an example of a protected workbook.(kina is the password to unprotect the workbook and the worksheets) I use the Syncfusion.ExcelRW.Base dll version 3.0.1.0 Regards, Kina protected_Book_1869.zip

Administrator [Syncfusion]
Replied On April 19, 2005 02:28 PM

Hi Kina, Thank you for your interest in Syncfusion ExcelRW. Currently it is not possible to open spreadsheets which are password protected. The problem is that when excel files are protected their contents are encrypted and the encryption algorithm is not available. One alternative could be that you could use Macros to protect workbooks, end users need the password to view the files but ExcelRW would still be able to open files protected using Macros. Please let me know if you have any questions. Thanks, Stephen. >Hi, >The method ExcelUtils.Open(filename) generate an exception when the workbook is protected. The exception message is: {"\r\nParameter name: length\r\nActual value was 3." } >You''ll find attached an example of a protected workbook.(kina is the password to unprotect the workbook and the worksheets) >I use the Syncfusion.ExcelRW.Base dll version 3.0.1.0 > >Regards, > >Kina > >protected_Book_1869.zip > >

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.

;