Returns whether a cell is locked
static int GetCellIsLocked( bool& blocked, 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.