Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Occurs when certain properties are changed or when certain methods are executed in the specified PivotTable view.
Syntax
expression.DataChange (Reason)
expression A variable that represents a Form object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Reason | Required | Long | A PivotDataReasonEnum constant that indicates the reason that this event was triggered. |
Return value
Nothing
Example
The following example demonstrates the syntax for a subroutine that traps the DataChange event.
Private Sub Form_DataChange(Reason As Long)
If Reason = OWC.plDataReasonDisplayCellColorChange Then
MsgBox "The cell display color was changed."
End If
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.