XLL+ Class Library

CXlFuncs::CellProtect

Returns whether a referenced cell is shown is protected

[C++]
static int CellProtect(
   bool& bprotect,
   const CXlOper& reference
);
static int CellProtect(
   BOOL& shprotect,
   const CXlOper& reference
);

Parameters

bprotect

A reference to a boolean value that will contain the requested data if the macro succeeds.

reference

Reference to the cell that you want information about.

shprotect

A reference to a boolean value that will contain the requested data if the macro succeeds.

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

CXlFuncs Class | CXlFuncs Methods