Excel.BindingSelectionChangedEventArgs interface
Provides information about the selection that raised the selection changed event.
Note*: If multiple, discontiguous cells are selected, Binding.onSelectionChanged
only reports row and column information for one selection. Use Worksheet.onSelectionChanged
for multiple selected ranges.
Remarks
Properties
binding | Gets a temporary |
column |
Gets the number of columns selected. |
row |
Gets the number of rows selected. |
start |
Gets the index of the first column of the selection (zero-based). |
start |
Gets the index of the first row of the selection (zero-based). |
Property Details
binding
Gets a temporary Binding
object that contains the ID of the Binding
object that raised the event. Use that ID with BindingCollection.getItem(id)
to get the binding.
binding: Excel.Binding;
Property Value
Remarks
columnCount
Gets the number of columns selected.
columnCount: number;
Property Value
number
Remarks
rowCount
Gets the number of rows selected.
rowCount: number;
Property Value
number
Remarks
startColumn
Gets the index of the first column of the selection (zero-based).
startColumn: number;
Property Value
number
Remarks
startRow
Gets the index of the first row of the selection (zero-based).
startRow: number;
Property Value
number
Remarks
Office Add-ins