SelectionChange Event

Microsoft Access Visual Basic

Private Sub Form_SelectionChange()

Remarks

The user cannot cancel this event.

Example

The following example demonstrates the syntax for a subroutine that traps the SelectionChange event.

Private Sub Form_SelectionChange()
    MsgBox "The selection has changed!"
End Sub