[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.ActiveCell

ActiveCell Property

ActiveCell

Gets the active cell.

The active cell is returned as a single-cell IRange. Returns null if the worksheet does not have a current selection.

Declaration
IRange ActiveCell { get; }
ReadOnly Property ActiveCell As IRange
Examples
worksheet.Range["C3"].Activate();
IRange cell = worksheet.ActiveCell;
cell.Value = "Active";