foreach (CellRange cr in sheet.Range["A1:C4"].Cells) { if(cr.HasFormula) { //.. } }
sheet.Rows[0]["A1"].Formula;
=
string s = sheet.Rows[0]["A1"].Formula; if(s.StartsWith("=")) {Console.WriteLine("Contains formula!");}
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)