Hello,
We are using Aspose.Cells v4.8.0.15. One problem we noticed is that some cells with formulas do not have values even after calculating. It appears that this happens when the grid has already been calculated before the formula is added to the grid. So the following code, for example, works when the first CalculateFormula is omitted, but when it is put in, the test cell gives "Cell contains no data." even though the formula is there.
This is a big problem for us. Can you suggest anything?
Mishelle
------
public void SetSharedFormulaTest()
{
var workbook = new Workbook();
var grid = workbook.Worksheets[0];
var cell = grid.Cells[0, 2];
cell.Formula = "=3-2";
grid.Workbook.CalculateFormula(false);
cell.SetSharedFormula(cell.Formula, 13, 1);
grid.Workbook.CalculateFormula(false);
Assert.AreEqual(grid.Cells[12, 2].FloatValue, 1);
}