[]
Gets the current selection range on the worksheet.
Returns an IRange that represents the currently selected cells.
If the selection contains multiple areas, the returned range represents all selected areas.
Returns null if the worksheet has no selection.
IRange Selection { get; }
ReadOnly Property Selection As IRange
worksheet.Range["A1:B2"].Select();
IRange selection = worksheet.Selection;
selection.Value = "Selected";