I am currently evaluating Aspose Cells, and I am more than astonished about the incredible performance: our previous (also commercial) excel library took about 20 minutes for creating a large excel sheet full of formulas. You manage it in a handful of seconds.
But it seems I found a bug: we have a sheet which has a “(” in it’s name and reference it in a formula (the sheet names are the first 31 chars of user specific data - any “strange” name might happen )
This is the formula (bold are the sheet names)
=‘784 - Kongresse und Events’!D5+‘774-779 - Vermietung Konzerte (’!D5
And this is the exception:
Message=Error in Cell: D5-Invalid formula:"=‘784 - Kongresse und Events’!D5+‘774-779 - Vermietung Konzerte (’!D5".
at ؐ.՜.(Cell ؗ, String , Byte , Boolean ਖ਼)
at Aspose.Cells.Cell.set_Formula(String value)
As it works when pasting the formula to excel, I assume it is a bug.
Take this as a test for your support - a quick response might increase our willingness to buy ;-).
Thanks for your posting and interest in Aspose.Cells.
You have provided us the formula, but it will be better if you create a sample input file (xls/xlsx) with this formula using Ms-Excel manually and then post here.
Also, it will be helpful if you provide a sample code too. I assume you get this exception while creating workbook object.
Attached is a sample. Start it, click the button and see the exception raise ;-).
Sorry, normally it is not my style to report bugs without a sample, but I was in a hurry.
Thanks for posting your sample project.
I was able to reproduce this issue with the latest version. We have logged this issue in our database and will get back to you asap.
This issue has been logged as CELLSNET-28781.
this exception also occurs when using a closing bracket “)”.
Thanks for your further input. I have added your comment so that it could also be fixed.
Please try the fix below.
Please download: Aspose.Cell for .NET v18.104.22.168
Whow, that was a fast fix! It works now.