We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Excel 2007 document can't be opened by Aspose


While trying to open the attached document with Aspose.Cells I get the following exception:

"Aspose.Cells.CellsException: Invalid FontUnderlineType string va"

Is it possible to avoid this problem or if it is a bug could we expect it will be fixed in the next release?



Hi Olexandr,

We will check and fix this issue soon.

Hello Laurence,

When could I expect the next release or hotfix for Aspose.Cells?

This bug is urgent for the next release of our software.




We will figure out your issue soon.

Thank you.


Please try the attached version. Since your file contains some kind of conditional formatting and some color with tint that we do not supported yet, these data will lost if you open the file and save it.

Thank you,

Just to follow up on this thread.

I had the same problem. I used this DLL but I notice the table styles don’t save properly.

I opened a version of my Excel 2007 workbook in Aspose and then put in a value or two and called save.

It gives a Repair Error when I load it up.

I didn’t even get a chance to see how the charts and pivot tables looked because Table styles didn’t even work.

Can you comment on this? It says on your website that this component is Excel 2007 is compatible, yet I see comments here and there that it doesn’t work with this feature or that feature.

Can you let us know what doesn’t work when using documents created in Excel 2007 so we don’t find out halfway through development that X feature doesn’t work.


Please try the fix Aspose.Cells for .NET (Latest Version)

I tested with your template file, it won't produce any repair error.

There are a few features that are yet to be supported for Excel 2007 format. e.g., some style shading colors, conditional formattings, manipulation of charts and pivot tables. We are working on these features and they will be availble in our upcomming versions soon.

Thank you.

That thread is locked or forum doesn’t exist.

I found another open thread with the DLL version. Will post results.


Sorry for any inconvenience,

Actually the thread was private which can only be visible for Aspose Staff and the the founder (starter) of the thread and we did not notice it, so you could not open it.

Any how, I attach the latest fix ( here for you, kindly try it.

Thank you.


I get the following exception trying with the document attached to the first post:

"System.ArgumentException: Value of '-2147483648' is not valid for 'alpha'. 'alpha' should be greater than or equal to 0 and less than or equal to 255"



Hi Olexandr,

Please try the attached version ( I tested your template file with the following code and it works fine:

Workbook workbook = new Workbook();




Note: It is to be noted that some feautures including drawing objects, formattings might be lost for.xlsx files when opening and saving with Aspose.Cells. We are working on these features and support them soon.

Thank you.


I can open the document with, but now I have another problem. I changed this document a bit with Aspose (asiign some custom properties) and as a result I got the document in attachment.

After that I want to recalculate formulas with the following code:

Workbook.Open(_FileName, Aspose.Cells.FileFormatType.Excel2007Xlsx)


Workbook.Save(_FileName, Aspose.Cells.FileFormatType.Excel2007Xlsx)

But it fails on .CalculateFormula with the following exception

"Aspose.Cells.CellsException: Object reference not set to an instance of an object.
Error in calculating cell J21 in Worksheet Personal Monthly Budget"


Thanks for reporting,

We found the issue and we will fix it soon.

Thank you.


The CalulateFormula exception issue is replied in the following post, please check it.


Thank you