Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Sep 10, 2018 3:37 pm

Downloaded latest version of Spire.XLS

I want to open 2003 Excel file (*.xls) which is password protected (generated from Android Apache POI library)

I used this code:
Code: Select all
Workbook workbook = new Workbook();
workbook.OpenPassword = "pass";
workbook.LoadFromFile(@"excel.xls", ExcelVersion.Version97to2003);


and when I reach LoadFromFile the program throws an exception

Code: Select all
Invalid font.

unholy
 
Posts: 1
Joined: Mon Sep 10, 2018 12:45 pm

Tue Sep 11, 2018 3:07 am

Dear Zhivko,

Thanks for your inquiry.
After an initial test with the latest Spire.XLS (Spire.XLS Pack(Hotfix) Version:8.8.5), I was unable to reproduce your issue. To help us further investigate your issue, please share us with your input Excel file. You could send it to us via email support@e-iceblue.com.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1187
Joined: Tue Sep 27, 2016 1:06 am

Tue Sep 11, 2018 9:44 am

Dear Zhivko,

Thank you for sharing the file via email.
I have reproduced the issue and logged it in our bug tracking system.
Once there’s any update, I will let you know.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.XLS