This project has moved. For the latest updates, please go here.

How to get Range value when using formulas?

Nov 17, 2011 at 7:41 AM

Hi is it possible to get the value for a formula for a range?

workSheet.Cells[1,1].Value returns blank ("") when the cell has a formula i.e. a reference to another cell.

Is it possible to get the value of the formula?

 Cheers

Jan

Coordinator
Nov 18, 2011 at 1:09 PM

No, there is no calculation engine in EPPlus. You have to open the workbook in Excel to get the value.

Nov 18, 2011 at 2:45 PM

Thanks Jan for the reply.

If others have the same question:

Open the workbook. Select the cells. Copy and paste values (not normal paste).

 

Cheers

Jan