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

[ API set: ExcelApi 1.2 ]

Properties

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.

columnCount

Gets the number of columns selected.

rowCount

Gets the number of rows selected.

startColumn

Gets the index of the first column of the selection (zero-based).

startRow

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

[ API set: ExcelApi 1.2 ]

columnCount

Gets the number of columns selected.

columnCount: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.2 ]

rowCount

Gets the number of rows selected.

rowCount: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.2 ]

startColumn

Gets the index of the first column of the selection (zero-based).

startColumn: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.2 ]

startRow

Gets the index of the first row of the selection (zero-based).

startRow: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.2 ]