title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Form.SelectionChange event (Access) |
vbaac10.chm13672 |
|
|
4c815a6d-4971-6cbd-16ad-905e93ec1b52 |
03/08/2019 |
medium |
Occurs whenever the user makes a new selection in a PivotChart view or PivotTable view.
expression.SelectionChange
expression A variable that represents a Form object.
Nothing
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
[!includeSupport and feedback]