IsFormula-func
This function is used to determine whether a worksheet cell contains cell formula or not. It is useful in Set Values dialog box only.
int IsFormula(string str)
str
If the cell contains a cell formula, the function returns 1, otherwise returns 0.
isformula(B1)=; // return 1 if 1st row of col(B) contains cell formula, otherwise return 0