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 Jul 01, 2013 8:52 am

Hello,

The XLSX file can be only opened and edited by Microsoft Excel 2007 and above, so we have to set the version parameter in LoadFromStream(Stream stream, ExcelVersion version) method. For the XLSX file, our Spire.Xls component can support to load and edit Version2007 and Version2010, I check your excel file and it is an Excel2007 file, you could load your excel file by LoadFromStream(Stream stream,ExcelVersion.Version2007) or LoadFromStream(Stream stream,ExcelVersion.Version2010).

If there are any questions, welcome to get it back to us.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.XLS