Form.PivotTable Property

Access Developer Reference

Returns a PivotTable object representing a PivotTable View on a form. Read-only.

Syntax

expression.PivotTable

expression   A variable that represents a Form object.

Example

This example reports the version of Microsoft Office Web Components in use for the specified form, assuming that there is a PivotTable View on the form.

Visual Basic for Applications
  Dim objChartSpace As PivotTable

Set objChartSpace = Forms(0).PivotTable

MsgBox "Current version of Office Web Components: " _ & objChartSpace.Version

See Also