method Items.DeleteCellEditor ([Item as Variant], [ColIndex as Variant])
Deletes the cell's built-in editor created by CellEditor property.

TypeDescription
Item as Variant A long expression that indicates the item's handle.
ColIndex as Variant A long expression that indicates the column's index, or cell's handle, a string expression that indicates the column's caption or key.

Use the DeleteCellEditor method to delete the editor created using the CellEditor property. Use the CellEditorVisible property to hide or show the cell's editor. Use the HasCellEditor property to check whether the cell contains an editor ( being created using the CellEditor property ). The DeleteCellEditor method has no effect if the cell contains an editor assigned using the the Editor property of the Column object, or the cell has no editor.