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 Mar 24, 2014 8:03 am

Hi,

I received error "Specified argument was out of the range of valid values" when I execute "objWorkbook.LoadFromFile(strExcelFilePath)"

Here is my code:
Dim strExcelFilePath = "C:\Temp\TestFile.xlsx"
Dim objWorkbook As Spire.Xls.Workbook = New Spire.Xls.Workbook()

objWorkbook.LoadFromFile(strExcelFilePath)

I wanted to upload the xlsx file for you to test but I received this error "The extension xlsx is not allowed".

I am using spire.office_hotfix_2.7.2

For your assistance please.

lukmanps
 
Posts: 2
Joined: Fri Mar 21, 2014 8:17 am

Mon Mar 24, 2014 9:20 am

HI,

Thanks for your inquiry.

Please kindly note that you need to zip it firstly and upload. And you could directly send your document to our Email(support@e-iceblue.com ).

Sincerely,
Lisa
E-iceblue support team
User avatar

lisa.chen
 
Posts: 21
Joined: Thu Mar 20, 2014 2:31 am

Mon Mar 24, 2014 9:56 am

Hi Lisa,

Thank you for your fast response.

I have uploaded the zip file here.

Lukman


lisa.chen wrote:HI,

Thanks for your inquiry.

Please kindly note that you need to zip it firstly and upload. And you could directly send your document to our Email(support@e-iceblue.com ).

Sincerely,
Lisa
E-iceblue support team
Attachments
TestFile.zip
(18.47 KiB) Downloaded 292 times

lukmanps
 
Posts: 2
Joined: Fri Mar 21, 2014 8:17 am

Tue Mar 25, 2014 3:38 am

Hello,

Thanks for your inquiry.
I have reproduced the issue. Sorry for the inconvenience. I have posted it to our dev team.
We will inform you when there is any update from our dev team.

Welcome to contact us again for further problems.

Best regards,
Lisa
E-iceblue support team
User avatar

lisa.chen
 
Posts: 21
Joined: Thu Mar 20, 2014 2:31 am

Fri May 30, 2014 6:46 am

Hello,

The issue about loading XLSX file has been resolved. Please download and test the new hotfix: Spire.Office Platinum (Hot Fix) Version:2.8.2 (http://www.e-iceblue.com/Download/downl ... t-now.html).
If you have any questions, welcome to get it back to us.

Thanks and Regards,
Benjamin
E-iceblue support team
User avatar

Benjamin Du
 
Posts: 82
Joined: Thu Jul 25, 2013 2:38 am

Return to Spire.XLS