PivotTable Property [Access 2003 VBA Language Reference]

Returns a PivotTable object representing a PivotTable View on a form.

expression.PivotTable

expression Required. An expression that returns one of the objects in the Applies To list.

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.

Dim objChartSpace As PivotTable

Set objChartSpace = Forms(0).PivotTable

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

Applies to | Form Object

See Also | ChartSpace Property