[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.SelectionChange

SelectionChange Event

Occurs when the selection changes on a worksheet.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
event EventHandler<RangeEventArgs> SelectionChange
Event SelectionChange As EventHandler(Of RangeEventArgs)
Returns
Type Description
EventHandler<RangeEventArgs> Occurs when the selection changes on a worksheet.
Examples
string selectionAddress = null;
worksheet.SelectionChange += (sender, e) =>
{
    selectionAddress = e.Range.Address;
};
worksheet.Range["C3:D4"].Select();