Returns whether a cell contains a formula
static int GetCellIsFormula( bool& bformula, const CXlOper& reference = CXlOper::MissingArg() );
A reference to a boolean value that will contain the desired data if the function succeeds.
Reference is a cell or a range of cells from which you want information. If it is omitted, then the active cell will be used.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.