Returns or sets a value that determines whether a cell can respond to user-generated
events.
Type | Description | |||
Item as Variant | A long expression that indicates the item's handle. | |||
ColIndex as Variant | A long expression that indicates the cell's handle or the column's index, a string expression that indicates the column's caption or the column's key. | |||
Boolean | A boolean expression that indicates whether the cell is enabled or disabled. |
Use the CellEnabled property to disable a cell. A disabled cell looks grayed. Use the EnableItem property to disable an item. Once that one cell is disabled it cannot be checked or clicked. Use the SelectableItem property to specify the user can select an item. To disable a column you can use Enabled property of the Column object.
Note: The intersection of an item with a column defines a cell. Each
cell is uniquely represented by its handle. The cell's handle is of HCELL type,
that's equivalent with a long type. All properties of Items object that have
two parameters Item and ColIndex, refer a cell.