XLL+ Class Library

CXlMacros::GetCellIsFormula

Returns whether a cell contains a formula

[C++]
static int GetCellIsFormula(
   bool& bformula,
   const CXlOper& reference = CXlOper::MissingArg()
);

Parameters

bformula

A reference to a boolean value that will contain the desired data if the function succeeds.

reference

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.

Return value

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods