Form.PivotTable property (Access)

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.

Dim objChartSpace As PivotTable 
 
Set objChartSpace = Forms(0).PivotTable 
 
MsgBox "Current version of Office Web Components: " _ 
 & objChartSpace.Version 

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.