Form.DataChange Event (Access)
Occurs when certain properties are changed or when certain methods are executed in the specified PivotTable view.
A variable that represents a Form object.
A PivotDataReasonEnum constant that indicates the reason that this event was triggered.
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."