SelectionChange Event [Access 2003 VBA Language Reference]

Occurs whenever the user makes a new selection in a PivotChart view or PivotTable view.

Private Sub Form_SelectionChange()


The user cannot cancel this event.


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

Applies to | Form Object