I am trying to display a chart using the values obtained from cells that have formulas. The values calculated by the formula appear on the worksheet correctly. I would like to copy just the numeric value of these cells to another cell on the worksheet.
Everytime I try to obtain the cell value it outputs a null value or a 0. Is it possible to obtain the numeric value?
I am using the latest version of Aspose Cells, 4.0.1.0. Just in case there is some kind of misunderstanding, I am trying to copy the value obtained by the formula (in this case at cell J7) to another cell in the spreadsheet. In Excel I usually do this through copying cell J7, then paste special (values and number format) to the destination cell.
Thanks Laurence it is now working. Apologies, it was a fault on my part. The formulas were added at the time the borders and styles were applied but before the cells were filled with values. Hence the formula values appeared correctly as they update automatically when cells in the formula range are modified.
However, the test code to copy the values in the formula cells was in the same location as the code for formulas hence the value 'at that time' would have been empty/0.