[]
Gets or sets the cell type for specified range in the sheet.
BaseCellType CellType { get; set; }
Property CellType As BaseCellType
| Type | Description |
|---|---|
| BaseCellType | The cell type. |
ButtonCellType button = new ButtonCellType();
button.Text = "Submit";
IRange range = worksheet.Range["A1"];
range.CellType = button;
BaseCellType cellType = range.CellType;