Width Property

Microsoft Office Web Components Visual Basic

ShowWidth property as it applies to the PivotAxisMember, PivotColumnMember, PivotFieldSet, PivotPageMember, PivotRowMember, PivotTable, and PivotTotal objects.

ShowWidth property as it applies to the PivotAggregate, PivotDetailCell, PivotResultAxis, PivotResultColumnAxis, PivotResultDataAxis, PivotResultFilterAxis, PivotResultGroupAxis, PivotResultLabel, PivotResultPageAxis, and PivotResultRowAxis objects.

ShowWidth property as it applies to the Range object.

Remarks

The AutoFit property of the PivotTable list is set to False when the value of the Width property is changed.

Example

This example sets the width of the PivotTable list to 150 points.

PivotTable1.Object.Width = 150