I am unable to get the value of a COUNTA formula which references an INDIRECT range. The below code puts should place a 3 value in cell (4,1). The attached workbook shows a 0 value. My Aspose.Cells.NET version is 5.2.1.0.
Dim datLIC As New Aspose.Cells.License : datLIC.SetLicense(New System.IO.StreamReader("C:\Test\Aspose.Cells.lic").BaseStream)
Dim BOOK As New Aspose.Cells.Workbook
Dim SHEET As Aspose.Cells.Worksheet = BOOK.Worksheets.Item(1)
SHEET.Cells(2, 2).PutValue("COUNT", True)
SHEET.Cells(2, 3).PutValue("ME", True)
SHEET.Cells(2, 4).PutValue("TOO", True)
SHEET.Cells(3, 1).Formula = "=COUNTA(INDIRECT(""A2:IV2""))"
BOOK.CalculateFormula()
SHEET.Cells(4, 1).PutValue(SHEET.Cells(3, 1).Value, True)
BOOK.Save("C:\Test\A.xls")