Occurs when the selected range changes to a different cell or range of cells.
Syntax
Private Sub object_SelChange()
The SelChange event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
Remarks
The SelChange event occurs when the user clicks a new cell, drags to select a new range of cells, or selects a range of cells by pressing and holding SHIFT while using the ARROW keys. This event does not occur while a user drags the selection across the ModHFGrid.
This event can occur programmatically by changing the selected region using the Row, Col, RowSel, or ColSel properties.