I have a Excel document (see attachment) that should be converted to Pdf format. The Excel document contains a calculated cell (F34).
In the converted Pdf document cell F34 wronly gets a value = 0,00 using the code below.
If CalculatFormula = false the value becomes 9114,57 (maybe because the value is cached inside the Excel document?)
The newest version of Aspose.Cells is used.
Why is cell F34 calculated to a wrong value?
Workbook workbook = new Workbook(filePathAndName)
Aspose.Cells.PdfSaveOptions pdfSaveOptions = new Aspose.Cells.PdfSaveOptions(Aspose.Cells.SaveFormat.Pdf) { CalculateFormula = true };
workbook.Save(ConvertedFilePathAndName, pdfSaveOptions);
Kopi af OPGOERELSE 2021.zip (40.2 KB)