Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 864 Bytes

Access.Form.SelectionChange(even).md

File metadata and controls

49 lines (28 loc) · 864 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Form.SelectionChange event (Access)
vbaac10.chm13672
vbaac10.chm13672
Access.Form.SelectionChange
4c815a6d-4971-6cbd-16ad-905e93ec1b52
03/08/2019
medium

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

[!includeSupport and feedback]