Compartir a través de


Form.SelectionChange Event (Access)

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

Syntax

expression .SelectionChange

expression A variable that represents a Form object.

Return Value

nothing

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

See Also

Concepts

Form Object

Form Object Members