We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to get formula in a cell

Hi

I assigned a formula in a cell in my template.I need to get the formula in the cell.How to get that

Hi,

You can use Cell.Formula property.

Please use the following code, it will copy cell a1 formula to string variable

e.g


Cell al=…;

string formulaA1= a1.Formula;