Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.